{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Importing PulP solver\n",
    "from pulp import *"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "##Inputing the demand points\n",
    "plant_locations=['Mina Salman','Larnaca Port','Port of Alexandria','Port of Bandar Abbas','Port of Umm Qasr','Port of Haifa','Port of Aqaba','Port of Shuwaikh','Port of Beirut','Port of Salalah','Port of Gaza','Port of Doha','Port of King Abdul Aziz','Port of Jeddah','Port of Latakia','Port of Mersin','Port of Jebel Ali','Port of Hodeidah']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Supply Points\n",
    "#Plastic Supplying Points\n",
    "supply_points=['Port of Buenos Aires','Port of Antwerp','Port of Santos','Port of Montreal','Port of Vancouver','Port of Shanghai','Buenaventura','Port of Alexandria','Port of Marseille','Port of Hamburg_Germany','Port of Jawaharlal Nehru','Port of Gioia Tauro','Port of Nagoya','Port of Busan','Port of Shuwaikh','Penang Port','Port of Manzanillo','Port of Rotterdam','Port of Lagos','Port of Salalah','Port of Gdansk','Port of Doha','Port of King Abdul Aziz','Port of Jeddah','Port of Singapore','Port of Durban','Port of Algeciras','Port of Bangkok','Port of Jebel Ali','Port of Immingham','Port of New York','Port of Los Angeles','Port of Saigon']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['Port of Buenos Aires',\n",
       " 'Port of Antwerp',\n",
       " 'Port of Santos',\n",
       " 'Port of Montreal',\n",
       " 'Port of Vancouver',\n",
       " 'Port of Shanghai',\n",
       " 'Buenaventura',\n",
       " 'Port of Alexandria',\n",
       " 'Port of Marseille',\n",
       " 'Port of Hamburg_Germany',\n",
       " 'Port of Jawaharlal Nehru',\n",
       " 'Port of Gioia Tauro',\n",
       " 'Port of Nagoya',\n",
       " 'Port of Busan',\n",
       " 'Port of Shuwaikh',\n",
       " 'Penang Port',\n",
       " 'Port of Manzanillo',\n",
       " 'Port of Rotterdam',\n",
       " 'Port of Lagos',\n",
       " 'Port of Salalah',\n",
       " 'Port of Gdansk',\n",
       " 'Port of Doha',\n",
       " 'Port of King Abdul Aziz',\n",
       " 'Port of Jeddah',\n",
       " 'Port of Singapore',\n",
       " 'Port of Durban',\n",
       " 'Port of Algeciras',\n",
       " 'Port of Bangkok',\n",
       " 'Port of Jebel Ali',\n",
       " 'Port of Immingham',\n",
       " 'Port of New York',\n",
       " 'Port of Los Angeles',\n",
       " 'Port of Saigon']"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "supply_points"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the distances\n",
    "distance = dict(zip(supply_points, [dict(zip(plant_locations, [9420.00,7224,8607.00,9112.00,9691.00,8747.00,9083.00,9646.00,8704.00,8169.00,7282.00,9355.00,9476.00,8921.00,8631.00,8606.00,9168.00,8382.00])),\n",
    "dict(zip(plant_locations, [7193.00,3269,3665.00,6882.00,7464.00,3804.00,4141.00,7419.00,3761.00,5939.00,3327.94,7125.00,7247.00,4567.00,3689.00,3664.00,6938.00,5106.00])),\n",
    "dict(zip(plant_locations, [9662.00,6302,7529.00,9351.00,9933.00,7667.00,8005.00,9888.00,7626.00,8408.00,6360.00,9594.00,9716.00,8432.00,7553.00,7528.00,9407.00,8624.00])),\n",
    "dict(zip(plant_locations, [9594.00,5106,6196.00,9414.00,9808.00,6336.00,6672.00,9794.00,6020.00,8471.00,5165.00,9657.00,9778.00,7099.00,6220.00,6195.00,9470.00,7364.00])),\n",
    "dict(zip(plant_locations, [15871.00,10295,12322.00,10381.00,10848.00,12461.00,12797.00,10828.00,12441.00,10461.00,10365.00,10603.00,10668.00,13108.00,12345.00,12320.00,10440.00,11270.00])),\n",
    "dict(zip(plant_locations, [6882.00,7780,8365.00,6557.00,7139.00,8336.00,7912.00,7094.00,8385.00,6270.00,7660.00,6814.00,6922.00,7341.00,8550.00,8546.00,6627.00,6802.00])),\n",
    "dict(zip(plant_locations, [11561.00,6673,8033.00,11251.00,11832.00,8173.00,8509.00,11788.00,8130.00,10308.00,6743.00,11494.00,11615.00,8936.00,8057.00,8032.00,11307.00,9474.00])),\n",
    "dict(zip(plant_locations, [3650.00,296,0.00,3340.00,3921.00,370.00,598.00,3877.00,427.00,2397.00,242.00,3583.00,3704.00,1024.00,571.00,546.00,3396.00,1563.00])),\n",
    "dict(zip(plant_locations, [5332.00,1550,1805.00,5024.00,5603.00,1946.00,2282.00,5558.00,1900.00,4081.00,1631.00,5267.00,5388.00,2709.00,1830.00,1806.00,5080.00,3245.00])),\n",
    "dict(zip(plant_locations, [7561.00,3536,4033.00,7250.00,7832.00,4173.00,4509.00,7788.00,4130.00,6307.00,3595.70,7493.00,7615.00,4935.00,4057.00,4032.00,7306.00,5475.00])),\n",
    "dict(zip(plant_locations, [1589.00,3363,3540.00,1265.00,1847.00,3510.00,3086.00,1802.00,3560.00,1143.00,3243.00,1522.00,1630.00,2515.00,3725.00,3720.00,1335.00,1977.00])),\n",
    "dict(zip(plant_locations, [4620.00,1255,1092.00,4310.00,4891.00,1230.00,1568.00,4847.00,1189.00,3367.00,1336.00,4553.00,4674.00,1994.00,1116.00,1091.00,4366.00,2533.00])),\n",
    "dict(zip(plant_locations, [7759.00,8428,9243.00,7435.00,8017.00,9214.00,8790.00,7972.00,9263.00,7148.00,8308.00,7692.00,7800.00,8219.00,9428.00,9424.00,7505.00,7680.00])),\n",
    "dict(zip(plant_locations, [7398.00,8140,8882.00,7074.00,7655.00,8852.00,8428.00,7611.00,8901.00,6786.00,8020.00,7330.00,7438.00,7857.00,9066.00,9062.00,7143.00,7318.00])),\n",
    "dict(zip(plant_locations, [310.00,3483,3877.00,537.00,71,3847.00,3423.00,0,3896.00,1480.00,3363.00,421.00,203.00,2852.00,4061.00,4057.00,562.00,2313.00])),\n",
    "dict(zip(plant_locations, [3856.00,5369,5340.00,3532.00,4113.00,5310.00,4886.00,4069.00,5359.00,3245.00,5210.00,3788.00,3896.00,4315.00,5525.00,5520.00,3601.00,3777.00])),\n",
    "dict(zip(plant_locations, [13061.00,8018,9534.00,12745.00,13332.00,9673.00,10011.00,13286.00,9631.00,11791.00,8088.00,12977.00,13099.00,10419.00,9541.00,9516.00,12790.00,10974.00])),\n",
    "dict(zip(plant_locations, [7284.00,3275,3756.00,6973.00,7555.00,3894.00,4231.00,7510.00,3852.00,6030.00,3335.00,7216.00,7338.00,4658.00,3780.00,3755.00,7029.00,5197.00])),\n",
    "dict(zip(plant_locations, [8570.00,4994,5524.00,8260.00,8841.00,5662.00,6000.00,8797.00,5620.00,7317.00,5500.00,8797.00,8624.00,6426.00,5548.00,5523.00,8316.00,6965.00])),\n",
    "dict(zip(plant_locations, [1253.00,2206,2397.00,943.00,1524.00,2367.00,1943.00,1480.00,2416.00,0.00,2086.00,1186.00,1307.00,1372.00,2582.00,2577.00,999.00,833.00])),\n",
    "dict(zip(plant_locations, [8277.00,4060,4750.00,7967.00,8548.00,4889.00,5224.00,8504.00,4847.00,7025.00,4119.00,8213.00,8334.00,5654.00,4775.00,4751.00,8025.00,6190.00])),\n",
    "dict(zip(plant_locations, [140.00,3259,3583.00,355.00,490.00,3553.00,3423.00,421.00,3602.00,1186.00,3139.00,0.00,219.00,2558.00,3767.00,3763.00,187.00,2019.00])),\n",
    "dict(zip(plant_locations, [108.00,3323,3704.00,365.00,274.00,3674.00,3250.00,203.00,3724.00,1307.00,3203.00,219.00,0.00,2680.00,3889.00,3885.00,389.00,2141.00])),\n",
    "dict(zip(plant_locations, [2626.00,948,1024.00,3902.00,4483.00,5680.00,5256.00,4439.00,5729.00,3614.00,5531.00,4158.00,4266.00,4685.00,5894.00,5890.00,3971.00,4146.00])),\n",
    "dict(zip(plant_locations, [4226.00,5651,5710.00,3902.00,4483.00,5680.00,5256.00,4439.00,5729.00,3614.00,5531.00,4158.00,4266.00,4685.00,5894.00,5890.00,3971.00,4146.00])),\n",
    "dict(zip(plant_locations, [4824.00,7466,5347.00,4514.00,5095.00,5318.00,4894.00,5050.00,5367.00,3571.00,7346.00,4757.00,4878.00,4323.00,5534.00,5530.00,4572.00,3786.00])),\n",
    "dict(zip(plant_locations, [5631.00,1924,2103.00,5321.00,5902.00,2242.00,2579.00,5858.00,2200.00,4378.00,2004.00,5564.00,5685.00,3006.00,2127.00,2102.00,5377.00,3545.00])),\n",
    "dict(zip(plant_locations, [5102.00,6461,6585.00,4778.00,5359.00,6556.00,6132.00,5315.00,6605.00,4490.00,6341.00,5034.00,5142.00,5561.00,6770.00,6766.00,4847.00,5022.00])),\n",
    "dict(zip(plant_locations, [327.00,3095,3396.00,173.00,606.00,3366.00,2942.00,562.00,3415.00,999.00,2975.00,187.00,389.00,2371.00,3580.00,3576.00,0.00,1832.00])),\n",
    "dict(zip(plant_locations, [7334.00,3340,3806.00,7023.00,7605.00,3944.00,4282.00,7560.00,3903.00,6081.00,3399.00,7267.00,7388.00,4708.00,3830.00,3804.00,7080.00,5247.00])),\n",
    "dict(zip(plant_locations, [9168.00,5137,5618.00,8862.00,9417.00,5756.00,6104.00,9392.00,5715.00,7930.00,5196.00,9392.00,9222.00,6521.00,5642.00,5617.00,8918.00,7105.00])),\n",
    "dict(zip(plant_locations, [14552.00,9210,11025.00,11057.00,11524.00,11048.00,11501.00,11504.00,11122.00,11137.00,9280.00,11279.00,11344.00,11927.00,11049.00,11024.00,11116.00,12465.00])),\n",
    "dict(zip(plant_locations, [4964.00,6503,6448.00,4640.00,5221.00,6418.00,5994.00,5177.00,6467.00,4353.00,6368.00,4896.00,5004.00,5423.00,6633.00,6628.00,4709.00,4884.00]))]))\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Port of Buenos Aires': {'Mina Salman': 9420.0,\n",
       "  'Larnaca Port': 7224,\n",
       "  'Port of Alexandria': 8607.0,\n",
       "  'Port of Bandar Abbas': 9112.0,\n",
       "  'Port of Umm Qasr': 9691.0,\n",
       "  'Port of Haifa': 8747.0,\n",
       "  'Port of Aqaba': 9083.0,\n",
       "  'Port of Shuwaikh': 9646.0,\n",
       "  'Port of Beirut': 8704.0,\n",
       "  'Port of Salalah': 8169.0,\n",
       "  'Port of Gaza': 7282.0,\n",
       "  'Port of Doha': 9355.0,\n",
       "  'Port of King Abdul Aziz': 9476.0,\n",
       "  'Port of Jeddah': 8921.0,\n",
       "  'Port of Latakia': 8631.0,\n",
       "  'Port of Mersin': 8606.0,\n",
       "  'Port of Jebel Ali': 9168.0,\n",
       "  'Port of Hodeidah': 8382.0},\n",
       " 'Port of Antwerp': {'Mina Salman': 7193.0,\n",
       "  'Larnaca Port': 3269,\n",
       "  'Port of Alexandria': 3665.0,\n",
       "  'Port of Bandar Abbas': 6882.0,\n",
       "  'Port of Umm Qasr': 7464.0,\n",
       "  'Port of Haifa': 3804.0,\n",
       "  'Port of Aqaba': 4141.0,\n",
       "  'Port of Shuwaikh': 7419.0,\n",
       "  'Port of Beirut': 3761.0,\n",
       "  'Port of Salalah': 5939.0,\n",
       "  'Port of Gaza': 3327.94,\n",
       "  'Port of Doha': 7125.0,\n",
       "  'Port of King Abdul Aziz': 7247.0,\n",
       "  'Port of Jeddah': 4567.0,\n",
       "  'Port of Latakia': 3689.0,\n",
       "  'Port of Mersin': 3664.0,\n",
       "  'Port of Jebel Ali': 6938.0,\n",
       "  'Port of Hodeidah': 5106.0},\n",
       " 'Port of Santos': {'Mina Salman': 9662.0,\n",
       "  'Larnaca Port': 6302,\n",
       "  'Port of Alexandria': 7529.0,\n",
       "  'Port of Bandar Abbas': 9351.0,\n",
       "  'Port of Umm Qasr': 9933.0,\n",
       "  'Port of Haifa': 7667.0,\n",
       "  'Port of Aqaba': 8005.0,\n",
       "  'Port of Shuwaikh': 9888.0,\n",
       "  'Port of Beirut': 7626.0,\n",
       "  'Port of Salalah': 8408.0,\n",
       "  'Port of Gaza': 6360.0,\n",
       "  'Port of Doha': 9594.0,\n",
       "  'Port of King Abdul Aziz': 9716.0,\n",
       "  'Port of Jeddah': 8432.0,\n",
       "  'Port of Latakia': 7553.0,\n",
       "  'Port of Mersin': 7528.0,\n",
       "  'Port of Jebel Ali': 9407.0,\n",
       "  'Port of Hodeidah': 8624.0},\n",
       " 'Port of Montreal': {'Mina Salman': 9594.0,\n",
       "  'Larnaca Port': 5106,\n",
       "  'Port of Alexandria': 6196.0,\n",
       "  'Port of Bandar Abbas': 9414.0,\n",
       "  'Port of Umm Qasr': 9808.0,\n",
       "  'Port of Haifa': 6336.0,\n",
       "  'Port of Aqaba': 6672.0,\n",
       "  'Port of Shuwaikh': 9794.0,\n",
       "  'Port of Beirut': 6020.0,\n",
       "  'Port of Salalah': 8471.0,\n",
       "  'Port of Gaza': 5165.0,\n",
       "  'Port of Doha': 9657.0,\n",
       "  'Port of King Abdul Aziz': 9778.0,\n",
       "  'Port of Jeddah': 7099.0,\n",
       "  'Port of Latakia': 6220.0,\n",
       "  'Port of Mersin': 6195.0,\n",
       "  'Port of Jebel Ali': 9470.0,\n",
       "  'Port of Hodeidah': 7364.0},\n",
       " 'Port of Vancouver': {'Mina Salman': 15871.0,\n",
       "  'Larnaca Port': 10295,\n",
       "  'Port of Alexandria': 12322.0,\n",
       "  'Port of Bandar Abbas': 10381.0,\n",
       "  'Port of Umm Qasr': 10848.0,\n",
       "  'Port of Haifa': 12461.0,\n",
       "  'Port of Aqaba': 12797.0,\n",
       "  'Port of Shuwaikh': 10828.0,\n",
       "  'Port of Beirut': 12441.0,\n",
       "  'Port of Salalah': 10461.0,\n",
       "  'Port of Gaza': 10365.0,\n",
       "  'Port of Doha': 10603.0,\n",
       "  'Port of King Abdul Aziz': 10668.0,\n",
       "  'Port of Jeddah': 13108.0,\n",
       "  'Port of Latakia': 12345.0,\n",
       "  'Port of Mersin': 12320.0,\n",
       "  'Port of Jebel Ali': 10440.0,\n",
       "  'Port of Hodeidah': 11270.0},\n",
       " 'Port of Shanghai': {'Mina Salman': 6882.0,\n",
       "  'Larnaca Port': 7780,\n",
       "  'Port of Alexandria': 8365.0,\n",
       "  'Port of Bandar Abbas': 6557.0,\n",
       "  'Port of Umm Qasr': 7139.0,\n",
       "  'Port of Haifa': 8336.0,\n",
       "  'Port of Aqaba': 7912.0,\n",
       "  'Port of Shuwaikh': 7094.0,\n",
       "  'Port of Beirut': 8385.0,\n",
       "  'Port of Salalah': 6270.0,\n",
       "  'Port of Gaza': 7660.0,\n",
       "  'Port of Doha': 6814.0,\n",
       "  'Port of King Abdul Aziz': 6922.0,\n",
       "  'Port of Jeddah': 7341.0,\n",
       "  'Port of Latakia': 8550.0,\n",
       "  'Port of Mersin': 8546.0,\n",
       "  'Port of Jebel Ali': 6627.0,\n",
       "  'Port of Hodeidah': 6802.0},\n",
       " 'Buenaventura': {'Mina Salman': 11561.0,\n",
       "  'Larnaca Port': 6673,\n",
       "  'Port of Alexandria': 8033.0,\n",
       "  'Port of Bandar Abbas': 11251.0,\n",
       "  'Port of Umm Qasr': 11832.0,\n",
       "  'Port of Haifa': 8173.0,\n",
       "  'Port of Aqaba': 8509.0,\n",
       "  'Port of Shuwaikh': 11788.0,\n",
       "  'Port of Beirut': 8130.0,\n",
       "  'Port of Salalah': 10308.0,\n",
       "  'Port of Gaza': 6743.0,\n",
       "  'Port of Doha': 11494.0,\n",
       "  'Port of King Abdul Aziz': 11615.0,\n",
       "  'Port of Jeddah': 8936.0,\n",
       "  'Port of Latakia': 8057.0,\n",
       "  'Port of Mersin': 8032.0,\n",
       "  'Port of Jebel Ali': 11307.0,\n",
       "  'Port of Hodeidah': 9474.0},\n",
       " 'Port of Alexandria': {'Mina Salman': 3650.0,\n",
       "  'Larnaca Port': 296,\n",
       "  'Port of Alexandria': 0.0,\n",
       "  'Port of Bandar Abbas': 3340.0,\n",
       "  'Port of Umm Qasr': 3921.0,\n",
       "  'Port of Haifa': 370.0,\n",
       "  'Port of Aqaba': 598.0,\n",
       "  'Port of Shuwaikh': 3877.0,\n",
       "  'Port of Beirut': 427.0,\n",
       "  'Port of Salalah': 2397.0,\n",
       "  'Port of Gaza': 242.0,\n",
       "  'Port of Doha': 3583.0,\n",
       "  'Port of King Abdul Aziz': 3704.0,\n",
       "  'Port of Jeddah': 1024.0,\n",
       "  'Port of Latakia': 571.0,\n",
       "  'Port of Mersin': 546.0,\n",
       "  'Port of Jebel Ali': 3396.0,\n",
       "  'Port of Hodeidah': 1563.0},\n",
       " 'Port of Marseille': {'Mina Salman': 5332.0,\n",
       "  'Larnaca Port': 1550,\n",
       "  'Port of Alexandria': 1805.0,\n",
       "  'Port of Bandar Abbas': 5024.0,\n",
       "  'Port of Umm Qasr': 5603.0,\n",
       "  'Port of Haifa': 1946.0,\n",
       "  'Port of Aqaba': 2282.0,\n",
       "  'Port of Shuwaikh': 5558.0,\n",
       "  'Port of Beirut': 1900.0,\n",
       "  'Port of Salalah': 4081.0,\n",
       "  'Port of Gaza': 1631.0,\n",
       "  'Port of Doha': 5267.0,\n",
       "  'Port of King Abdul Aziz': 5388.0,\n",
       "  'Port of Jeddah': 2709.0,\n",
       "  'Port of Latakia': 1830.0,\n",
       "  'Port of Mersin': 1806.0,\n",
       "  'Port of Jebel Ali': 5080.0,\n",
       "  'Port of Hodeidah': 3245.0},\n",
       " 'Port of Hamburg_Germany': {'Mina Salman': 7561.0,\n",
       "  'Larnaca Port': 3536,\n",
       "  'Port of Alexandria': 4033.0,\n",
       "  'Port of Bandar Abbas': 7250.0,\n",
       "  'Port of Umm Qasr': 7832.0,\n",
       "  'Port of Haifa': 4173.0,\n",
       "  'Port of Aqaba': 4509.0,\n",
       "  'Port of Shuwaikh': 7788.0,\n",
       "  'Port of Beirut': 4130.0,\n",
       "  'Port of Salalah': 6307.0,\n",
       "  'Port of Gaza': 3595.7,\n",
       "  'Port of Doha': 7493.0,\n",
       "  'Port of King Abdul Aziz': 7615.0,\n",
       "  'Port of Jeddah': 4935.0,\n",
       "  'Port of Latakia': 4057.0,\n",
       "  'Port of Mersin': 4032.0,\n",
       "  'Port of Jebel Ali': 7306.0,\n",
       "  'Port of Hodeidah': 5475.0},\n",
       " 'Port of Jawaharlal Nehru': {'Mina Salman': 1589.0,\n",
       "  'Larnaca Port': 3363,\n",
       "  'Port of Alexandria': 3540.0,\n",
       "  'Port of Bandar Abbas': 1265.0,\n",
       "  'Port of Umm Qasr': 1847.0,\n",
       "  'Port of Haifa': 3510.0,\n",
       "  'Port of Aqaba': 3086.0,\n",
       "  'Port of Shuwaikh': 1802.0,\n",
       "  'Port of Beirut': 3560.0,\n",
       "  'Port of Salalah': 1143.0,\n",
       "  'Port of Gaza': 3243.0,\n",
       "  'Port of Doha': 1522.0,\n",
       "  'Port of King Abdul Aziz': 1630.0,\n",
       "  'Port of Jeddah': 2515.0,\n",
       "  'Port of Latakia': 3725.0,\n",
       "  'Port of Mersin': 3720.0,\n",
       "  'Port of Jebel Ali': 1335.0,\n",
       "  'Port of Hodeidah': 1977.0},\n",
       " 'Port of Gioia Tauro': {'Mina Salman': 4620.0,\n",
       "  'Larnaca Port': 1255,\n",
       "  'Port of Alexandria': 1092.0,\n",
       "  'Port of Bandar Abbas': 4310.0,\n",
       "  'Port of Umm Qasr': 4891.0,\n",
       "  'Port of Haifa': 1230.0,\n",
       "  'Port of Aqaba': 1568.0,\n",
       "  'Port of Shuwaikh': 4847.0,\n",
       "  'Port of Beirut': 1189.0,\n",
       "  'Port of Salalah': 3367.0,\n",
       "  'Port of Gaza': 1336.0,\n",
       "  'Port of Doha': 4553.0,\n",
       "  'Port of King Abdul Aziz': 4674.0,\n",
       "  'Port of Jeddah': 1994.0,\n",
       "  'Port of Latakia': 1116.0,\n",
       "  'Port of Mersin': 1091.0,\n",
       "  'Port of Jebel Ali': 4366.0,\n",
       "  'Port of Hodeidah': 2533.0},\n",
       " 'Port of Nagoya': {'Mina Salman': 7759.0,\n",
       "  'Larnaca Port': 8428,\n",
       "  'Port of Alexandria': 9243.0,\n",
       "  'Port of Bandar Abbas': 7435.0,\n",
       "  'Port of Umm Qasr': 8017.0,\n",
       "  'Port of Haifa': 9214.0,\n",
       "  'Port of Aqaba': 8790.0,\n",
       "  'Port of Shuwaikh': 7972.0,\n",
       "  'Port of Beirut': 9263.0,\n",
       "  'Port of Salalah': 7148.0,\n",
       "  'Port of Gaza': 8308.0,\n",
       "  'Port of Doha': 7692.0,\n",
       "  'Port of King Abdul Aziz': 7800.0,\n",
       "  'Port of Jeddah': 8219.0,\n",
       "  'Port of Latakia': 9428.0,\n",
       "  'Port of Mersin': 9424.0,\n",
       "  'Port of Jebel Ali': 7505.0,\n",
       "  'Port of Hodeidah': 7680.0},\n",
       " 'Port of Busan': {'Mina Salman': 7398.0,\n",
       "  'Larnaca Port': 8140,\n",
       "  'Port of Alexandria': 8882.0,\n",
       "  'Port of Bandar Abbas': 7074.0,\n",
       "  'Port of Umm Qasr': 7655.0,\n",
       "  'Port of Haifa': 8852.0,\n",
       "  'Port of Aqaba': 8428.0,\n",
       "  'Port of Shuwaikh': 7611.0,\n",
       "  'Port of Beirut': 8901.0,\n",
       "  'Port of Salalah': 6786.0,\n",
       "  'Port of Gaza': 8020.0,\n",
       "  'Port of Doha': 7330.0,\n",
       "  'Port of King Abdul Aziz': 7438.0,\n",
       "  'Port of Jeddah': 7857.0,\n",
       "  'Port of Latakia': 9066.0,\n",
       "  'Port of Mersin': 9062.0,\n",
       "  'Port of Jebel Ali': 7143.0,\n",
       "  'Port of Hodeidah': 7318.0},\n",
       " 'Port of Shuwaikh': {'Mina Salman': 310.0,\n",
       "  'Larnaca Port': 3483,\n",
       "  'Port of Alexandria': 3877.0,\n",
       "  'Port of Bandar Abbas': 537.0,\n",
       "  'Port of Umm Qasr': 71,\n",
       "  'Port of Haifa': 3847.0,\n",
       "  'Port of Aqaba': 3423.0,\n",
       "  'Port of Shuwaikh': 0,\n",
       "  'Port of Beirut': 3896.0,\n",
       "  'Port of Salalah': 1480.0,\n",
       "  'Port of Gaza': 3363.0,\n",
       "  'Port of Doha': 421.0,\n",
       "  'Port of King Abdul Aziz': 203.0,\n",
       "  'Port of Jeddah': 2852.0,\n",
       "  'Port of Latakia': 4061.0,\n",
       "  'Port of Mersin': 4057.0,\n",
       "  'Port of Jebel Ali': 562.0,\n",
       "  'Port of Hodeidah': 2313.0},\n",
       " 'Penang Port': {'Mina Salman': 3856.0,\n",
       "  'Larnaca Port': 5369,\n",
       "  'Port of Alexandria': 5340.0,\n",
       "  'Port of Bandar Abbas': 3532.0,\n",
       "  'Port of Umm Qasr': 4113.0,\n",
       "  'Port of Haifa': 5310.0,\n",
       "  'Port of Aqaba': 4886.0,\n",
       "  'Port of Shuwaikh': 4069.0,\n",
       "  'Port of Beirut': 5359.0,\n",
       "  'Port of Salalah': 3245.0,\n",
       "  'Port of Gaza': 5210.0,\n",
       "  'Port of Doha': 3788.0,\n",
       "  'Port of King Abdul Aziz': 3896.0,\n",
       "  'Port of Jeddah': 4315.0,\n",
       "  'Port of Latakia': 5525.0,\n",
       "  'Port of Mersin': 5520.0,\n",
       "  'Port of Jebel Ali': 3601.0,\n",
       "  'Port of Hodeidah': 3777.0},\n",
       " 'Port of Manzanillo': {'Mina Salman': 13061.0,\n",
       "  'Larnaca Port': 8018,\n",
       "  'Port of Alexandria': 9534.0,\n",
       "  'Port of Bandar Abbas': 12745.0,\n",
       "  'Port of Umm Qasr': 13332.0,\n",
       "  'Port of Haifa': 9673.0,\n",
       "  'Port of Aqaba': 10011.0,\n",
       "  'Port of Shuwaikh': 13286.0,\n",
       "  'Port of Beirut': 9631.0,\n",
       "  'Port of Salalah': 11791.0,\n",
       "  'Port of Gaza': 8088.0,\n",
       "  'Port of Doha': 12977.0,\n",
       "  'Port of King Abdul Aziz': 13099.0,\n",
       "  'Port of Jeddah': 10419.0,\n",
       "  'Port of Latakia': 9541.0,\n",
       "  'Port of Mersin': 9516.0,\n",
       "  'Port of Jebel Ali': 12790.0,\n",
       "  'Port of Hodeidah': 10974.0},\n",
       " 'Port of Rotterdam': {'Mina Salman': 7284.0,\n",
       "  'Larnaca Port': 3275,\n",
       "  'Port of Alexandria': 3756.0,\n",
       "  'Port of Bandar Abbas': 6973.0,\n",
       "  'Port of Umm Qasr': 7555.0,\n",
       "  'Port of Haifa': 3894.0,\n",
       "  'Port of Aqaba': 4231.0,\n",
       "  'Port of Shuwaikh': 7510.0,\n",
       "  'Port of Beirut': 3852.0,\n",
       "  'Port of Salalah': 6030.0,\n",
       "  'Port of Gaza': 3335.0,\n",
       "  'Port of Doha': 7216.0,\n",
       "  'Port of King Abdul Aziz': 7338.0,\n",
       "  'Port of Jeddah': 4658.0,\n",
       "  'Port of Latakia': 3780.0,\n",
       "  'Port of Mersin': 3755.0,\n",
       "  'Port of Jebel Ali': 7029.0,\n",
       "  'Port of Hodeidah': 5197.0},\n",
       " 'Port of Lagos': {'Mina Salman': 8570.0,\n",
       "  'Larnaca Port': 4994,\n",
       "  'Port of Alexandria': 5524.0,\n",
       "  'Port of Bandar Abbas': 8260.0,\n",
       "  'Port of Umm Qasr': 8841.0,\n",
       "  'Port of Haifa': 5662.0,\n",
       "  'Port of Aqaba': 6000.0,\n",
       "  'Port of Shuwaikh': 8797.0,\n",
       "  'Port of Beirut': 5620.0,\n",
       "  'Port of Salalah': 7317.0,\n",
       "  'Port of Gaza': 5500.0,\n",
       "  'Port of Doha': 8797.0,\n",
       "  'Port of King Abdul Aziz': 8624.0,\n",
       "  'Port of Jeddah': 6426.0,\n",
       "  'Port of Latakia': 5548.0,\n",
       "  'Port of Mersin': 5523.0,\n",
       "  'Port of Jebel Ali': 8316.0,\n",
       "  'Port of Hodeidah': 6965.0},\n",
       " 'Port of Salalah': {'Mina Salman': 1253.0,\n",
       "  'Larnaca Port': 2206,\n",
       "  'Port of Alexandria': 2397.0,\n",
       "  'Port of Bandar Abbas': 943.0,\n",
       "  'Port of Umm Qasr': 1524.0,\n",
       "  'Port of Haifa': 2367.0,\n",
       "  'Port of Aqaba': 1943.0,\n",
       "  'Port of Shuwaikh': 1480.0,\n",
       "  'Port of Beirut': 2416.0,\n",
       "  'Port of Salalah': 0.0,\n",
       "  'Port of Gaza': 2086.0,\n",
       "  'Port of Doha': 1186.0,\n",
       "  'Port of King Abdul Aziz': 1307.0,\n",
       "  'Port of Jeddah': 1372.0,\n",
       "  'Port of Latakia': 2582.0,\n",
       "  'Port of Mersin': 2577.0,\n",
       "  'Port of Jebel Ali': 999.0,\n",
       "  'Port of Hodeidah': 833.0},\n",
       " 'Port of Gdansk': {'Mina Salman': 8277.0,\n",
       "  'Larnaca Port': 4060,\n",
       "  'Port of Alexandria': 4750.0,\n",
       "  'Port of Bandar Abbas': 7967.0,\n",
       "  'Port of Umm Qasr': 8548.0,\n",
       "  'Port of Haifa': 4889.0,\n",
       "  'Port of Aqaba': 5224.0,\n",
       "  'Port of Shuwaikh': 8504.0,\n",
       "  'Port of Beirut': 4847.0,\n",
       "  'Port of Salalah': 7025.0,\n",
       "  'Port of Gaza': 4119.0,\n",
       "  'Port of Doha': 8213.0,\n",
       "  'Port of King Abdul Aziz': 8334.0,\n",
       "  'Port of Jeddah': 5654.0,\n",
       "  'Port of Latakia': 4775.0,\n",
       "  'Port of Mersin': 4751.0,\n",
       "  'Port of Jebel Ali': 8025.0,\n",
       "  'Port of Hodeidah': 6190.0},\n",
       " 'Port of Doha': {'Mina Salman': 140.0,\n",
       "  'Larnaca Port': 3259,\n",
       "  'Port of Alexandria': 3583.0,\n",
       "  'Port of Bandar Abbas': 355.0,\n",
       "  'Port of Umm Qasr': 490.0,\n",
       "  'Port of Haifa': 3553.0,\n",
       "  'Port of Aqaba': 3423.0,\n",
       "  'Port of Shuwaikh': 421.0,\n",
       "  'Port of Beirut': 3602.0,\n",
       "  'Port of Salalah': 1186.0,\n",
       "  'Port of Gaza': 3139.0,\n",
       "  'Port of Doha': 0.0,\n",
       "  'Port of King Abdul Aziz': 219.0,\n",
       "  'Port of Jeddah': 2558.0,\n",
       "  'Port of Latakia': 3767.0,\n",
       "  'Port of Mersin': 3763.0,\n",
       "  'Port of Jebel Ali': 187.0,\n",
       "  'Port of Hodeidah': 2019.0},\n",
       " 'Port of King Abdul Aziz': {'Mina Salman': 108.0,\n",
       "  'Larnaca Port': 3323,\n",
       "  'Port of Alexandria': 3704.0,\n",
       "  'Port of Bandar Abbas': 365.0,\n",
       "  'Port of Umm Qasr': 274.0,\n",
       "  'Port of Haifa': 3674.0,\n",
       "  'Port of Aqaba': 3250.0,\n",
       "  'Port of Shuwaikh': 203.0,\n",
       "  'Port of Beirut': 3724.0,\n",
       "  'Port of Salalah': 1307.0,\n",
       "  'Port of Gaza': 3203.0,\n",
       "  'Port of Doha': 219.0,\n",
       "  'Port of King Abdul Aziz': 0.0,\n",
       "  'Port of Jeddah': 2680.0,\n",
       "  'Port of Latakia': 3889.0,\n",
       "  'Port of Mersin': 3885.0,\n",
       "  'Port of Jebel Ali': 389.0,\n",
       "  'Port of Hodeidah': 2141.0},\n",
       " 'Port of Jeddah': {'Mina Salman': 2626.0,\n",
       "  'Larnaca Port': 948,\n",
       "  'Port of Alexandria': 1024.0,\n",
       "  'Port of Bandar Abbas': 3902.0,\n",
       "  'Port of Umm Qasr': 4483.0,\n",
       "  'Port of Haifa': 5680.0,\n",
       "  'Port of Aqaba': 5256.0,\n",
       "  'Port of Shuwaikh': 4439.0,\n",
       "  'Port of Beirut': 5729.0,\n",
       "  'Port of Salalah': 3614.0,\n",
       "  'Port of Gaza': 5531.0,\n",
       "  'Port of Doha': 4158.0,\n",
       "  'Port of King Abdul Aziz': 4266.0,\n",
       "  'Port of Jeddah': 4685.0,\n",
       "  'Port of Latakia': 5894.0,\n",
       "  'Port of Mersin': 5890.0,\n",
       "  'Port of Jebel Ali': 3971.0,\n",
       "  'Port of Hodeidah': 4146.0},\n",
       " 'Port of Singapore': {'Mina Salman': 4824.0,\n",
       "  'Larnaca Port': 5651,\n",
       "  'Port of Alexandria': 5347.0,\n",
       "  'Port of Bandar Abbas': 4514.0,\n",
       "  'Port of Umm Qasr': 5095.0,\n",
       "  'Port of Haifa': 5318.0,\n",
       "  'Port of Aqaba': 4894.0,\n",
       "  'Port of Shuwaikh': 5050.0,\n",
       "  'Port of Beirut': 5367.0,\n",
       "  'Port of Salalah': 3571.0,\n",
       "  'Port of Gaza': 7346.0,\n",
       "  'Port of Doha': 4757.0,\n",
       "  'Port of King Abdul Aziz': 4878.0,\n",
       "  'Port of Jeddah': 4323.0,\n",
       "  'Port of Latakia': 5534.0,\n",
       "  'Port of Mersin': 5530.0,\n",
       "  'Port of Jebel Ali': 4572.0,\n",
       "  'Port of Hodeidah': 3786.0},\n",
       " 'Port of Durban': {'Mina Salman': 5631.0,\n",
       "  'Larnaca Port': 7466,\n",
       "  'Port of Alexandria': 2103.0,\n",
       "  'Port of Bandar Abbas': 5321.0,\n",
       "  'Port of Umm Qasr': 5902.0,\n",
       "  'Port of Haifa': 2242.0,\n",
       "  'Port of Aqaba': 2579.0,\n",
       "  'Port of Shuwaikh': 5858.0,\n",
       "  'Port of Beirut': 2200.0,\n",
       "  'Port of Salalah': 4378.0,\n",
       "  'Port of Gaza': 2004.0,\n",
       "  'Port of Doha': 5564.0,\n",
       "  'Port of King Abdul Aziz': 5685.0,\n",
       "  'Port of Jeddah': 3006.0,\n",
       "  'Port of Latakia': 2127.0,\n",
       "  'Port of Mersin': 2102.0,\n",
       "  'Port of Jebel Ali': 5377.0,\n",
       "  'Port of Hodeidah': 3545.0},\n",
       " 'Port of Algeciras': {'Mina Salman': 5102.0,\n",
       "  'Larnaca Port': 1924,\n",
       "  'Port of Alexandria': 6585.0,\n",
       "  'Port of Bandar Abbas': 4778.0,\n",
       "  'Port of Umm Qasr': 5359.0,\n",
       "  'Port of Haifa': 6556.0,\n",
       "  'Port of Aqaba': 6132.0,\n",
       "  'Port of Shuwaikh': 5315.0,\n",
       "  'Port of Beirut': 6605.0,\n",
       "  'Port of Salalah': 4490.0,\n",
       "  'Port of Gaza': 6341.0,\n",
       "  'Port of Doha': 5034.0,\n",
       "  'Port of King Abdul Aziz': 5142.0,\n",
       "  'Port of Jeddah': 5561.0,\n",
       "  'Port of Latakia': 6770.0,\n",
       "  'Port of Mersin': 6766.0,\n",
       "  'Port of Jebel Ali': 4847.0,\n",
       "  'Port of Hodeidah': 5022.0},\n",
       " 'Port of Bangkok': {'Mina Salman': 327.0,\n",
       "  'Larnaca Port': 6461,\n",
       "  'Port of Alexandria': 3396.0,\n",
       "  'Port of Bandar Abbas': 173.0,\n",
       "  'Port of Umm Qasr': 606.0,\n",
       "  'Port of Haifa': 3366.0,\n",
       "  'Port of Aqaba': 2942.0,\n",
       "  'Port of Shuwaikh': 562.0,\n",
       "  'Port of Beirut': 3415.0,\n",
       "  'Port of Salalah': 999.0,\n",
       "  'Port of Gaza': 2975.0,\n",
       "  'Port of Doha': 187.0,\n",
       "  'Port of King Abdul Aziz': 389.0,\n",
       "  'Port of Jeddah': 2371.0,\n",
       "  'Port of Latakia': 3580.0,\n",
       "  'Port of Mersin': 3576.0,\n",
       "  'Port of Jebel Ali': 0.0,\n",
       "  'Port of Hodeidah': 1832.0},\n",
       " 'Port of Jebel Ali': {'Mina Salman': 7334.0,\n",
       "  'Larnaca Port': 3340,\n",
       "  'Port of Alexandria': 3806.0,\n",
       "  'Port of Bandar Abbas': 7023.0,\n",
       "  'Port of Umm Qasr': 7605.0,\n",
       "  'Port of Haifa': 3944.0,\n",
       "  'Port of Aqaba': 4282.0,\n",
       "  'Port of Shuwaikh': 7560.0,\n",
       "  'Port of Beirut': 3903.0,\n",
       "  'Port of Salalah': 6081.0,\n",
       "  'Port of Gaza': 3399.0,\n",
       "  'Port of Doha': 7267.0,\n",
       "  'Port of King Abdul Aziz': 7388.0,\n",
       "  'Port of Jeddah': 4708.0,\n",
       "  'Port of Latakia': 3830.0,\n",
       "  'Port of Mersin': 3804.0,\n",
       "  'Port of Jebel Ali': 7080.0,\n",
       "  'Port of Hodeidah': 5247.0},\n",
       " 'Port of Immingham': {'Mina Salman': 9168.0,\n",
       "  'Larnaca Port': 5137,\n",
       "  'Port of Alexandria': 5618.0,\n",
       "  'Port of Bandar Abbas': 8862.0,\n",
       "  'Port of Umm Qasr': 9417.0,\n",
       "  'Port of Haifa': 5756.0,\n",
       "  'Port of Aqaba': 6104.0,\n",
       "  'Port of Shuwaikh': 9392.0,\n",
       "  'Port of Beirut': 5715.0,\n",
       "  'Port of Salalah': 7930.0,\n",
       "  'Port of Gaza': 5196.0,\n",
       "  'Port of Doha': 9392.0,\n",
       "  'Port of King Abdul Aziz': 9222.0,\n",
       "  'Port of Jeddah': 6521.0,\n",
       "  'Port of Latakia': 5642.0,\n",
       "  'Port of Mersin': 5617.0,\n",
       "  'Port of Jebel Ali': 8918.0,\n",
       "  'Port of Hodeidah': 7105.0},\n",
       " 'Port of New York': {'Mina Salman': 14552.0,\n",
       "  'Larnaca Port': 9210,\n",
       "  'Port of Alexandria': 11025.0,\n",
       "  'Port of Bandar Abbas': 11057.0,\n",
       "  'Port of Umm Qasr': 11524.0,\n",
       "  'Port of Haifa': 11048.0,\n",
       "  'Port of Aqaba': 11501.0,\n",
       "  'Port of Shuwaikh': 11504.0,\n",
       "  'Port of Beirut': 11122.0,\n",
       "  'Port of Salalah': 11137.0,\n",
       "  'Port of Gaza': 9280.0,\n",
       "  'Port of Doha': 11279.0,\n",
       "  'Port of King Abdul Aziz': 11344.0,\n",
       "  'Port of Jeddah': 11927.0,\n",
       "  'Port of Latakia': 11049.0,\n",
       "  'Port of Mersin': 11024.0,\n",
       "  'Port of Jebel Ali': 11116.0,\n",
       "  'Port of Hodeidah': 12465.0},\n",
       " 'Port of Los Angeles': {'Mina Salman': 4964.0,\n",
       "  'Larnaca Port': 6503,\n",
       "  'Port of Alexandria': 6448.0,\n",
       "  'Port of Bandar Abbas': 4640.0,\n",
       "  'Port of Umm Qasr': 5221.0,\n",
       "  'Port of Haifa': 6418.0,\n",
       "  'Port of Aqaba': 5994.0,\n",
       "  'Port of Shuwaikh': 5177.0,\n",
       "  'Port of Beirut': 6467.0,\n",
       "  'Port of Salalah': 4353.0,\n",
       "  'Port of Gaza': 6368.0,\n",
       "  'Port of Doha': 4896.0,\n",
       "  'Port of King Abdul Aziz': 5004.0,\n",
       "  'Port of Jeddah': 5423.0,\n",
       "  'Port of Latakia': 6633.0,\n",
       "  'Port of Mersin': 6628.0,\n",
       "  'Port of Jebel Ali': 4709.0,\n",
       "  'Port of Hodeidah': 4884.0}}"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "distance"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Plastic Demand\n",
    "plastic_demand=dict(zip(plant_locations, [10585348.09,4042341.925,43986796.01,30183849.46,43309370.65,43816530.67,21506069.51,26601168.92,9971318.623,30037141.62,2271588.381,11088837.53,51034547.11,51034547.11,6045374.357,26694894.63,98803295.35,3221842.613]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Mina Salman': 10585348.09,\n",
       " 'Larnaca Port': 4042341.925,\n",
       " 'Port of Alexandria': 43986796.01,\n",
       " 'Port of Bandar Abbas': 30183849.46,\n",
       " 'Port of Umm Qasr': 43309370.65,\n",
       " 'Port of Haifa': 43816530.67,\n",
       " 'Port of Aqaba': 21506069.51,\n",
       " 'Port of Shuwaikh': 26601168.92,\n",
       " 'Port of Beirut': 9971318.623,\n",
       " 'Port of Salalah': 30037141.62,\n",
       " 'Port of Gaza': 2271588.381,\n",
       " 'Port of Doha': 11088837.53,\n",
       " 'Port of King Abdul Aziz': 51034547.11,\n",
       " 'Port of Jeddah': 51034547.11,\n",
       " 'Port of Latakia': 6045374.357,\n",
       " 'Port of Mersin': 26694894.63,\n",
       " 'Port of Jebel Ali': 98803295.35,\n",
       " 'Port of Hodeidah': 3221842.613}"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plastic_demand"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Plastic Supply\n",
    "plastic_supply=dict(zip(supply_points, [3484953.6435,3021067.5020,7945692.0017,1637839.3004,7771532.4984,234997919.6606,2509165.8953,731840.0219,6474235.9733,16669297.2185,10078880.5696,9565903.5174,13163659.9622,44795024.7538,887965.8933,12318631.8073,6272914.5326,2745849.6660,243946.6740,665974.4200,4350000.5481,1775931.7866,9520988.2609,5352440.4517,20157761.1392,1219733.3699,5144723.8347,19037885.5204,3995846.5198,5051019.5284,27723150.5426,19323708.4517,5599378.0942]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Port of Buenos Aires': 3484953.6435,\n",
       " 'Port of Antwerp': 3021067.502,\n",
       " 'Port of Santos': 7945692.0017,\n",
       " 'Port of Montreal': 1637839.3004,\n",
       " 'Port of Vancouver': 7771532.4984,\n",
       " 'Port of Shanghai': 234997919.6606,\n",
       " 'Buenaventura': 2509165.8953,\n",
       " 'Port of Alexandria': 731840.0219,\n",
       " 'Port of Marseille': 6474235.9733,\n",
       " 'Port of Hamburg_Germany': 16669297.2185,\n",
       " 'Port of Jawaharlal Nehru': 10078880.5696,\n",
       " 'Port of Gioia Tauro': 9565903.5174,\n",
       " 'Port of Nagoya': 13163659.9622,\n",
       " 'Port of Busan': 44795024.7538,\n",
       " 'Port of Shuwaikh': 887965.8933,\n",
       " 'Penang Port': 12318631.8073,\n",
       " 'Port of Manzanillo': 6272914.5326,\n",
       " 'Port of Rotterdam': 2745849.666,\n",
       " 'Port of Lagos': 243946.674,\n",
       " 'Port of Salalah': 665974.42,\n",
       " 'Port of Gdansk': 4350000.5481,\n",
       " 'Port of Doha': 1775931.7866,\n",
       " 'Port of King Abdul Aziz': 9520988.2609,\n",
       " 'Port of Jeddah': 5352440.4517,\n",
       " 'Port of Singapore': 20157761.1392,\n",
       " 'Port of Durban': 1219733.3699,\n",
       " 'Port of Algeciras': 5144723.8347,\n",
       " 'Port of Bangkok': 19037885.5204,\n",
       " 'Port of Jebel Ali': 3995846.5198,\n",
       " 'Port of Immingham': 5051019.5284,\n",
       " 'Port of New York': 27723150.5426,\n",
       " 'Port of Los Angeles': 19323708.4517,\n",
       " 'Port of Saigon': 5599378.0942}"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plastic_supply"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Set Problem Variables\n",
    "prob = LpProblem(\"Transportation\", LpMinimize)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Transportation:\n",
       "MINIMIZE\n",
       "None\n",
       "VARIABLES"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "prob"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Set Problem Variables\n",
    "routes = [(i,j) for i in supply_points for j in plant_locations]\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[('Port of Buenos Aires', 'Mina Salman'),\n",
       " ('Port of Buenos Aires', 'Larnaca Port'),\n",
       " ('Port of Buenos Aires', 'Port of Alexandria'),\n",
       " ('Port of Buenos Aires', 'Port of Bandar Abbas'),\n",
       " ('Port of Buenos Aires', 'Port of Umm Qasr'),\n",
       " ('Port of Buenos Aires', 'Port of Haifa'),\n",
       " ('Port of Buenos Aires', 'Port of Aqaba'),\n",
       " ('Port of Buenos Aires', 'Port of Shuwaikh'),\n",
       " ('Port of Buenos Aires', 'Port of Beirut'),\n",
       " ('Port of Buenos Aires', 'Port of Salalah'),\n",
       " ('Port of Buenos Aires', 'Port of Gaza'),\n",
       " ('Port of Buenos Aires', 'Port of Doha'),\n",
       " ('Port of Buenos Aires', 'Port of King Abdul Aziz'),\n",
       " ('Port of Buenos Aires', 'Port of Jeddah'),\n",
       " ('Port of Buenos Aires', 'Port of Latakia'),\n",
       " ('Port of Buenos Aires', 'Port of Mersin'),\n",
       " ('Port of Buenos Aires', 'Port of Jebel Ali'),\n",
       " ('Port of Buenos Aires', 'Port of Hodeidah'),\n",
       " ('Port of Antwerp', 'Mina Salman'),\n",
       " ('Port of Antwerp', 'Larnaca Port'),\n",
       " ('Port of Antwerp', 'Port of Alexandria'),\n",
       " ('Port of Antwerp', 'Port of Bandar Abbas'),\n",
       " ('Port of Antwerp', 'Port of Umm Qasr'),\n",
       " ('Port of Antwerp', 'Port of Haifa'),\n",
       " ('Port of Antwerp', 'Port of Aqaba'),\n",
       " ('Port of Antwerp', 'Port of Shuwaikh'),\n",
       " ('Port of Antwerp', 'Port of Beirut'),\n",
       " ('Port of Antwerp', 'Port of Salalah'),\n",
       " ('Port of Antwerp', 'Port of Gaza'),\n",
       " ('Port of Antwerp', 'Port of Doha'),\n",
       " ('Port of Antwerp', 'Port of King Abdul Aziz'),\n",
       " ('Port of Antwerp', 'Port of Jeddah'),\n",
       " ('Port of Antwerp', 'Port of Latakia'),\n",
       " ('Port of Antwerp', 'Port of Mersin'),\n",
       " ('Port of Antwerp', 'Port of Jebel Ali'),\n",
       " ('Port of Antwerp', 'Port of Hodeidah'),\n",
       " ('Port of Santos', 'Mina Salman'),\n",
       " ('Port of Santos', 'Larnaca Port'),\n",
       " ('Port of Santos', 'Port of Alexandria'),\n",
       " ('Port of Santos', 'Port of Bandar Abbas'),\n",
       " ('Port of Santos', 'Port of Umm Qasr'),\n",
       " ('Port of Santos', 'Port of Haifa'),\n",
       " ('Port of Santos', 'Port of Aqaba'),\n",
       " ('Port of Santos', 'Port of Shuwaikh'),\n",
       " ('Port of Santos', 'Port of Beirut'),\n",
       " ('Port of Santos', 'Port of Salalah'),\n",
       " ('Port of Santos', 'Port of Gaza'),\n",
       " ('Port of Santos', 'Port of Doha'),\n",
       " ('Port of Santos', 'Port of King Abdul Aziz'),\n",
       " ('Port of Santos', 'Port of Jeddah'),\n",
       " ('Port of Santos', 'Port of Latakia'),\n",
       " ('Port of Santos', 'Port of Mersin'),\n",
       " ('Port of Santos', 'Port of Jebel Ali'),\n",
       " ('Port of Santos', 'Port of Hodeidah'),\n",
       " ('Port of Montreal', 'Mina Salman'),\n",
       " ('Port of Montreal', 'Larnaca Port'),\n",
       " ('Port of Montreal', 'Port of Alexandria'),\n",
       " ('Port of Montreal', 'Port of Bandar Abbas'),\n",
       " ('Port of Montreal', 'Port of Umm Qasr'),\n",
       " ('Port of Montreal', 'Port of Haifa'),\n",
       " ('Port of Montreal', 'Port of Aqaba'),\n",
       " ('Port of Montreal', 'Port of Shuwaikh'),\n",
       " ('Port of Montreal', 'Port of Beirut'),\n",
       " ('Port of Montreal', 'Port of Salalah'),\n",
       " ('Port of Montreal', 'Port of Gaza'),\n",
       " ('Port of Montreal', 'Port of Doha'),\n",
       " ('Port of Montreal', 'Port of King Abdul Aziz'),\n",
       " ('Port of Montreal', 'Port of Jeddah'),\n",
       " ('Port of Montreal', 'Port of Latakia'),\n",
       " ('Port of Montreal', 'Port of Mersin'),\n",
       " ('Port of Montreal', 'Port of Jebel Ali'),\n",
       " ('Port of Montreal', 'Port of Hodeidah'),\n",
       " ('Port of Vancouver', 'Mina Salman'),\n",
       " ('Port of Vancouver', 'Larnaca Port'),\n",
       " ('Port of Vancouver', 'Port of Alexandria'),\n",
       " ('Port of Vancouver', 'Port of Bandar Abbas'),\n",
       " ('Port of Vancouver', 'Port of Umm Qasr'),\n",
       " ('Port of Vancouver', 'Port of Haifa'),\n",
       " ('Port of Vancouver', 'Port of Aqaba'),\n",
       " ('Port of Vancouver', 'Port of Shuwaikh'),\n",
       " ('Port of Vancouver', 'Port of Beirut'),\n",
       " ('Port of Vancouver', 'Port of Salalah'),\n",
       " ('Port of Vancouver', 'Port of Gaza'),\n",
       " ('Port of Vancouver', 'Port of Doha'),\n",
       " ('Port of Vancouver', 'Port of King Abdul Aziz'),\n",
       " ('Port of Vancouver', 'Port of Jeddah'),\n",
       " ('Port of Vancouver', 'Port of Latakia'),\n",
       " ('Port of Vancouver', 'Port of Mersin'),\n",
       " ('Port of Vancouver', 'Port of Jebel Ali'),\n",
       " ('Port of Vancouver', 'Port of Hodeidah'),\n",
       " ('Port of Shanghai', 'Mina Salman'),\n",
       " ('Port of Shanghai', 'Larnaca Port'),\n",
       " ('Port of Shanghai', 'Port of Alexandria'),\n",
       " ('Port of Shanghai', 'Port of Bandar Abbas'),\n",
       " ('Port of Shanghai', 'Port of Umm Qasr'),\n",
       " ('Port of Shanghai', 'Port of Haifa'),\n",
       " ('Port of Shanghai', 'Port of Aqaba'),\n",
       " ('Port of Shanghai', 'Port of Shuwaikh'),\n",
       " ('Port of Shanghai', 'Port of Beirut'),\n",
       " ('Port of Shanghai', 'Port of Salalah'),\n",
       " ('Port of Shanghai', 'Port of Gaza'),\n",
       " ('Port of Shanghai', 'Port of Doha'),\n",
       " ('Port of Shanghai', 'Port of King Abdul Aziz'),\n",
       " ('Port of Shanghai', 'Port of Jeddah'),\n",
       " ('Port of Shanghai', 'Port of Latakia'),\n",
       " ('Port of Shanghai', 'Port of Mersin'),\n",
       " ('Port of Shanghai', 'Port of Jebel Ali'),\n",
       " ('Port of Shanghai', 'Port of Hodeidah'),\n",
       " ('Buenaventura', 'Mina Salman'),\n",
       " ('Buenaventura', 'Larnaca Port'),\n",
       " ('Buenaventura', 'Port of Alexandria'),\n",
       " ('Buenaventura', 'Port of Bandar Abbas'),\n",
       " ('Buenaventura', 'Port of Umm Qasr'),\n",
       " ('Buenaventura', 'Port of Haifa'),\n",
       " ('Buenaventura', 'Port of Aqaba'),\n",
       " ('Buenaventura', 'Port of Shuwaikh'),\n",
       " ('Buenaventura', 'Port of Beirut'),\n",
       " ('Buenaventura', 'Port of Salalah'),\n",
       " ('Buenaventura', 'Port of Gaza'),\n",
       " ('Buenaventura', 'Port of Doha'),\n",
       " ('Buenaventura', 'Port of King Abdul Aziz'),\n",
       " ('Buenaventura', 'Port of Jeddah'),\n",
       " ('Buenaventura', 'Port of Latakia'),\n",
       " ('Buenaventura', 'Port of Mersin'),\n",
       " ('Buenaventura', 'Port of Jebel Ali'),\n",
       " ('Buenaventura', 'Port of Hodeidah'),\n",
       " ('Port of Alexandria', 'Mina Salman'),\n",
       " ('Port of Alexandria', 'Larnaca Port'),\n",
       " ('Port of Alexandria', 'Port of Alexandria'),\n",
       " ('Port of Alexandria', 'Port of Bandar Abbas'),\n",
       " ('Port of Alexandria', 'Port of Umm Qasr'),\n",
       " ('Port of Alexandria', 'Port of Haifa'),\n",
       " ('Port of Alexandria', 'Port of Aqaba'),\n",
       " ('Port of Alexandria', 'Port of Shuwaikh'),\n",
       " ('Port of Alexandria', 'Port of Beirut'),\n",
       " ('Port of Alexandria', 'Port of Salalah'),\n",
       " ('Port of Alexandria', 'Port of Gaza'),\n",
       " ('Port of Alexandria', 'Port of Doha'),\n",
       " ('Port of Alexandria', 'Port of King Abdul Aziz'),\n",
       " ('Port of Alexandria', 'Port of Jeddah'),\n",
       " ('Port of Alexandria', 'Port of Latakia'),\n",
       " ('Port of Alexandria', 'Port of Mersin'),\n",
       " ('Port of Alexandria', 'Port of Jebel Ali'),\n",
       " ('Port of Alexandria', 'Port of Hodeidah'),\n",
       " ('Port of Marseille', 'Mina Salman'),\n",
       " ('Port of Marseille', 'Larnaca Port'),\n",
       " ('Port of Marseille', 'Port of Alexandria'),\n",
       " ('Port of Marseille', 'Port of Bandar Abbas'),\n",
       " ('Port of Marseille', 'Port of Umm Qasr'),\n",
       " ('Port of Marseille', 'Port of Haifa'),\n",
       " ('Port of Marseille', 'Port of Aqaba'),\n",
       " ('Port of Marseille', 'Port of Shuwaikh'),\n",
       " ('Port of Marseille', 'Port of Beirut'),\n",
       " ('Port of Marseille', 'Port of Salalah'),\n",
       " ('Port of Marseille', 'Port of Gaza'),\n",
       " ('Port of Marseille', 'Port of Doha'),\n",
       " ('Port of Marseille', 'Port of King Abdul Aziz'),\n",
       " ('Port of Marseille', 'Port of Jeddah'),\n",
       " ('Port of Marseille', 'Port of Latakia'),\n",
       " ('Port of Marseille', 'Port of Mersin'),\n",
       " ('Port of Marseille', 'Port of Jebel Ali'),\n",
       " ('Port of Marseille', 'Port of Hodeidah'),\n",
       " ('Port of Hamburg_Germany', 'Mina Salman'),\n",
       " ('Port of Hamburg_Germany', 'Larnaca Port'),\n",
       " ('Port of Hamburg_Germany', 'Port of Alexandria'),\n",
       " ('Port of Hamburg_Germany', 'Port of Bandar Abbas'),\n",
       " ('Port of Hamburg_Germany', 'Port of Umm Qasr'),\n",
       " ('Port of Hamburg_Germany', 'Port of Haifa'),\n",
       " ('Port of Hamburg_Germany', 'Port of Aqaba'),\n",
       " ('Port of Hamburg_Germany', 'Port of Shuwaikh'),\n",
       " ('Port of Hamburg_Germany', 'Port of Beirut'),\n",
       " ('Port of Hamburg_Germany', 'Port of Salalah'),\n",
       " ('Port of Hamburg_Germany', 'Port of Gaza'),\n",
       " ('Port of Hamburg_Germany', 'Port of Doha'),\n",
       " ('Port of Hamburg_Germany', 'Port of King Abdul Aziz'),\n",
       " ('Port of Hamburg_Germany', 'Port of Jeddah'),\n",
       " ('Port of Hamburg_Germany', 'Port of Latakia'),\n",
       " ('Port of Hamburg_Germany', 'Port of Mersin'),\n",
       " ('Port of Hamburg_Germany', 'Port of Jebel Ali'),\n",
       " ('Port of Hamburg_Germany', 'Port of Hodeidah'),\n",
       " ('Port of Jawaharlal Nehru', 'Mina Salman'),\n",
       " ('Port of Jawaharlal Nehru', 'Larnaca Port'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Alexandria'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Bandar Abbas'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Umm Qasr'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Haifa'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Aqaba'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Shuwaikh'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Beirut'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Salalah'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Gaza'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Doha'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of King Abdul Aziz'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Jeddah'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Latakia'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Mersin'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Jebel Ali'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Hodeidah'),\n",
       " ('Port of Gioia Tauro', 'Mina Salman'),\n",
       " ('Port of Gioia Tauro', 'Larnaca Port'),\n",
       " ('Port of Gioia Tauro', 'Port of Alexandria'),\n",
       " ('Port of Gioia Tauro', 'Port of Bandar Abbas'),\n",
       " ('Port of Gioia Tauro', 'Port of Umm Qasr'),\n",
       " ('Port of Gioia Tauro', 'Port of Haifa'),\n",
       " ('Port of Gioia Tauro', 'Port of Aqaba'),\n",
       " ('Port of Gioia Tauro', 'Port of Shuwaikh'),\n",
       " ('Port of Gioia Tauro', 'Port of Beirut'),\n",
       " ('Port of Gioia Tauro', 'Port of Salalah'),\n",
       " ('Port of Gioia Tauro', 'Port of Gaza'),\n",
       " ('Port of Gioia Tauro', 'Port of Doha'),\n",
       " ('Port of Gioia Tauro', 'Port of King Abdul Aziz'),\n",
       " ('Port of Gioia Tauro', 'Port of Jeddah'),\n",
       " ('Port of Gioia Tauro', 'Port of Latakia'),\n",
       " ('Port of Gioia Tauro', 'Port of Mersin'),\n",
       " ('Port of Gioia Tauro', 'Port of Jebel Ali'),\n",
       " ('Port of Gioia Tauro', 'Port of Hodeidah'),\n",
       " ('Port of Nagoya', 'Mina Salman'),\n",
       " ('Port of Nagoya', 'Larnaca Port'),\n",
       " ('Port of Nagoya', 'Port of Alexandria'),\n",
       " ('Port of Nagoya', 'Port of Bandar Abbas'),\n",
       " ('Port of Nagoya', 'Port of Umm Qasr'),\n",
       " ('Port of Nagoya', 'Port of Haifa'),\n",
       " ('Port of Nagoya', 'Port of Aqaba'),\n",
       " ('Port of Nagoya', 'Port of Shuwaikh'),\n",
       " ('Port of Nagoya', 'Port of Beirut'),\n",
       " ('Port of Nagoya', 'Port of Salalah'),\n",
       " ('Port of Nagoya', 'Port of Gaza'),\n",
       " ('Port of Nagoya', 'Port of Doha'),\n",
       " ('Port of Nagoya', 'Port of King Abdul Aziz'),\n",
       " ('Port of Nagoya', 'Port of Jeddah'),\n",
       " ('Port of Nagoya', 'Port of Latakia'),\n",
       " ('Port of Nagoya', 'Port of Mersin'),\n",
       " ('Port of Nagoya', 'Port of Jebel Ali'),\n",
       " ('Port of Nagoya', 'Port of Hodeidah'),\n",
       " ('Port of Busan', 'Mina Salman'),\n",
       " ('Port of Busan', 'Larnaca Port'),\n",
       " ('Port of Busan', 'Port of Alexandria'),\n",
       " ('Port of Busan', 'Port of Bandar Abbas'),\n",
       " ('Port of Busan', 'Port of Umm Qasr'),\n",
       " ('Port of Busan', 'Port of Haifa'),\n",
       " ('Port of Busan', 'Port of Aqaba'),\n",
       " ('Port of Busan', 'Port of Shuwaikh'),\n",
       " ('Port of Busan', 'Port of Beirut'),\n",
       " ('Port of Busan', 'Port of Salalah'),\n",
       " ('Port of Busan', 'Port of Gaza'),\n",
       " ('Port of Busan', 'Port of Doha'),\n",
       " ('Port of Busan', 'Port of King Abdul Aziz'),\n",
       " ('Port of Busan', 'Port of Jeddah'),\n",
       " ('Port of Busan', 'Port of Latakia'),\n",
       " ('Port of Busan', 'Port of Mersin'),\n",
       " ('Port of Busan', 'Port of Jebel Ali'),\n",
       " ('Port of Busan', 'Port of Hodeidah'),\n",
       " ('Port of Shuwaikh', 'Mina Salman'),\n",
       " ('Port of Shuwaikh', 'Larnaca Port'),\n",
       " ('Port of Shuwaikh', 'Port of Alexandria'),\n",
       " ('Port of Shuwaikh', 'Port of Bandar Abbas'),\n",
       " ('Port of Shuwaikh', 'Port of Umm Qasr'),\n",
       " ('Port of Shuwaikh', 'Port of Haifa'),\n",
       " ('Port of Shuwaikh', 'Port of Aqaba'),\n",
       " ('Port of Shuwaikh', 'Port of Shuwaikh'),\n",
       " ('Port of Shuwaikh', 'Port of Beirut'),\n",
       " ('Port of Shuwaikh', 'Port of Salalah'),\n",
       " ('Port of Shuwaikh', 'Port of Gaza'),\n",
       " ('Port of Shuwaikh', 'Port of Doha'),\n",
       " ('Port of Shuwaikh', 'Port of King Abdul Aziz'),\n",
       " ('Port of Shuwaikh', 'Port of Jeddah'),\n",
       " ('Port of Shuwaikh', 'Port of Latakia'),\n",
       " ('Port of Shuwaikh', 'Port of Mersin'),\n",
       " ('Port of Shuwaikh', 'Port of Jebel Ali'),\n",
       " ('Port of Shuwaikh', 'Port of Hodeidah'),\n",
       " ('Penang Port', 'Mina Salman'),\n",
       " ('Penang Port', 'Larnaca Port'),\n",
       " ('Penang Port', 'Port of Alexandria'),\n",
       " ('Penang Port', 'Port of Bandar Abbas'),\n",
       " ('Penang Port', 'Port of Umm Qasr'),\n",
       " ('Penang Port', 'Port of Haifa'),\n",
       " ('Penang Port', 'Port of Aqaba'),\n",
       " ('Penang Port', 'Port of Shuwaikh'),\n",
       " ('Penang Port', 'Port of Beirut'),\n",
       " ('Penang Port', 'Port of Salalah'),\n",
       " ('Penang Port', 'Port of Gaza'),\n",
       " ('Penang Port', 'Port of Doha'),\n",
       " ('Penang Port', 'Port of King Abdul Aziz'),\n",
       " ('Penang Port', 'Port of Jeddah'),\n",
       " ('Penang Port', 'Port of Latakia'),\n",
       " ('Penang Port', 'Port of Mersin'),\n",
       " ('Penang Port', 'Port of Jebel Ali'),\n",
       " ('Penang Port', 'Port of Hodeidah'),\n",
       " ('Port of Manzanillo', 'Mina Salman'),\n",
       " ('Port of Manzanillo', 'Larnaca Port'),\n",
       " ('Port of Manzanillo', 'Port of Alexandria'),\n",
       " ('Port of Manzanillo', 'Port of Bandar Abbas'),\n",
       " ('Port of Manzanillo', 'Port of Umm Qasr'),\n",
       " ('Port of Manzanillo', 'Port of Haifa'),\n",
       " ('Port of Manzanillo', 'Port of Aqaba'),\n",
       " ('Port of Manzanillo', 'Port of Shuwaikh'),\n",
       " ('Port of Manzanillo', 'Port of Beirut'),\n",
       " ('Port of Manzanillo', 'Port of Salalah'),\n",
       " ('Port of Manzanillo', 'Port of Gaza'),\n",
       " ('Port of Manzanillo', 'Port of Doha'),\n",
       " ('Port of Manzanillo', 'Port of King Abdul Aziz'),\n",
       " ('Port of Manzanillo', 'Port of Jeddah'),\n",
       " ('Port of Manzanillo', 'Port of Latakia'),\n",
       " ('Port of Manzanillo', 'Port of Mersin'),\n",
       " ('Port of Manzanillo', 'Port of Jebel Ali'),\n",
       " ('Port of Manzanillo', 'Port of Hodeidah'),\n",
       " ('Port of Rotterdam', 'Mina Salman'),\n",
       " ('Port of Rotterdam', 'Larnaca Port'),\n",
       " ('Port of Rotterdam', 'Port of Alexandria'),\n",
       " ('Port of Rotterdam', 'Port of Bandar Abbas'),\n",
       " ('Port of Rotterdam', 'Port of Umm Qasr'),\n",
       " ('Port of Rotterdam', 'Port of Haifa'),\n",
       " ('Port of Rotterdam', 'Port of Aqaba'),\n",
       " ('Port of Rotterdam', 'Port of Shuwaikh'),\n",
       " ('Port of Rotterdam', 'Port of Beirut'),\n",
       " ('Port of Rotterdam', 'Port of Salalah'),\n",
       " ('Port of Rotterdam', 'Port of Gaza'),\n",
       " ('Port of Rotterdam', 'Port of Doha'),\n",
       " ('Port of Rotterdam', 'Port of King Abdul Aziz'),\n",
       " ('Port of Rotterdam', 'Port of Jeddah'),\n",
       " ('Port of Rotterdam', 'Port of Latakia'),\n",
       " ('Port of Rotterdam', 'Port of Mersin'),\n",
       " ('Port of Rotterdam', 'Port of Jebel Ali'),\n",
       " ('Port of Rotterdam', 'Port of Hodeidah'),\n",
       " ('Port of Lagos', 'Mina Salman'),\n",
       " ('Port of Lagos', 'Larnaca Port'),\n",
       " ('Port of Lagos', 'Port of Alexandria'),\n",
       " ('Port of Lagos', 'Port of Bandar Abbas'),\n",
       " ('Port of Lagos', 'Port of Umm Qasr'),\n",
       " ('Port of Lagos', 'Port of Haifa'),\n",
       " ('Port of Lagos', 'Port of Aqaba'),\n",
       " ('Port of Lagos', 'Port of Shuwaikh'),\n",
       " ('Port of Lagos', 'Port of Beirut'),\n",
       " ('Port of Lagos', 'Port of Salalah'),\n",
       " ('Port of Lagos', 'Port of Gaza'),\n",
       " ('Port of Lagos', 'Port of Doha'),\n",
       " ('Port of Lagos', 'Port of King Abdul Aziz'),\n",
       " ('Port of Lagos', 'Port of Jeddah'),\n",
       " ('Port of Lagos', 'Port of Latakia'),\n",
       " ('Port of Lagos', 'Port of Mersin'),\n",
       " ('Port of Lagos', 'Port of Jebel Ali'),\n",
       " ('Port of Lagos', 'Port of Hodeidah'),\n",
       " ('Port of Salalah', 'Mina Salman'),\n",
       " ('Port of Salalah', 'Larnaca Port'),\n",
       " ('Port of Salalah', 'Port of Alexandria'),\n",
       " ('Port of Salalah', 'Port of Bandar Abbas'),\n",
       " ('Port of Salalah', 'Port of Umm Qasr'),\n",
       " ('Port of Salalah', 'Port of Haifa'),\n",
       " ('Port of Salalah', 'Port of Aqaba'),\n",
       " ('Port of Salalah', 'Port of Shuwaikh'),\n",
       " ('Port of Salalah', 'Port of Beirut'),\n",
       " ('Port of Salalah', 'Port of Salalah'),\n",
       " ('Port of Salalah', 'Port of Gaza'),\n",
       " ('Port of Salalah', 'Port of Doha'),\n",
       " ('Port of Salalah', 'Port of King Abdul Aziz'),\n",
       " ('Port of Salalah', 'Port of Jeddah'),\n",
       " ('Port of Salalah', 'Port of Latakia'),\n",
       " ('Port of Salalah', 'Port of Mersin'),\n",
       " ('Port of Salalah', 'Port of Jebel Ali'),\n",
       " ('Port of Salalah', 'Port of Hodeidah'),\n",
       " ('Port of Gdansk', 'Mina Salman'),\n",
       " ('Port of Gdansk', 'Larnaca Port'),\n",
       " ('Port of Gdansk', 'Port of Alexandria'),\n",
       " ('Port of Gdansk', 'Port of Bandar Abbas'),\n",
       " ('Port of Gdansk', 'Port of Umm Qasr'),\n",
       " ('Port of Gdansk', 'Port of Haifa'),\n",
       " ('Port of Gdansk', 'Port of Aqaba'),\n",
       " ('Port of Gdansk', 'Port of Shuwaikh'),\n",
       " ('Port of Gdansk', 'Port of Beirut'),\n",
       " ('Port of Gdansk', 'Port of Salalah'),\n",
       " ('Port of Gdansk', 'Port of Gaza'),\n",
       " ('Port of Gdansk', 'Port of Doha'),\n",
       " ('Port of Gdansk', 'Port of King Abdul Aziz'),\n",
       " ('Port of Gdansk', 'Port of Jeddah'),\n",
       " ('Port of Gdansk', 'Port of Latakia'),\n",
       " ('Port of Gdansk', 'Port of Mersin'),\n",
       " ('Port of Gdansk', 'Port of Jebel Ali'),\n",
       " ('Port of Gdansk', 'Port of Hodeidah'),\n",
       " ('Port of Doha', 'Mina Salman'),\n",
       " ('Port of Doha', 'Larnaca Port'),\n",
       " ('Port of Doha', 'Port of Alexandria'),\n",
       " ('Port of Doha', 'Port of Bandar Abbas'),\n",
       " ('Port of Doha', 'Port of Umm Qasr'),\n",
       " ('Port of Doha', 'Port of Haifa'),\n",
       " ('Port of Doha', 'Port of Aqaba'),\n",
       " ('Port of Doha', 'Port of Shuwaikh'),\n",
       " ('Port of Doha', 'Port of Beirut'),\n",
       " ('Port of Doha', 'Port of Salalah'),\n",
       " ('Port of Doha', 'Port of Gaza'),\n",
       " ('Port of Doha', 'Port of Doha'),\n",
       " ('Port of Doha', 'Port of King Abdul Aziz'),\n",
       " ('Port of Doha', 'Port of Jeddah'),\n",
       " ('Port of Doha', 'Port of Latakia'),\n",
       " ('Port of Doha', 'Port of Mersin'),\n",
       " ('Port of Doha', 'Port of Jebel Ali'),\n",
       " ('Port of Doha', 'Port of Hodeidah'),\n",
       " ('Port of King Abdul Aziz', 'Mina Salman'),\n",
       " ('Port of King Abdul Aziz', 'Larnaca Port'),\n",
       " ('Port of King Abdul Aziz', 'Port of Alexandria'),\n",
       " ('Port of King Abdul Aziz', 'Port of Bandar Abbas'),\n",
       " ('Port of King Abdul Aziz', 'Port of Umm Qasr'),\n",
       " ('Port of King Abdul Aziz', 'Port of Haifa'),\n",
       " ('Port of King Abdul Aziz', 'Port of Aqaba'),\n",
       " ('Port of King Abdul Aziz', 'Port of Shuwaikh'),\n",
       " ('Port of King Abdul Aziz', 'Port of Beirut'),\n",
       " ('Port of King Abdul Aziz', 'Port of Salalah'),\n",
       " ('Port of King Abdul Aziz', 'Port of Gaza'),\n",
       " ('Port of King Abdul Aziz', 'Port of Doha'),\n",
       " ('Port of King Abdul Aziz', 'Port of King Abdul Aziz'),\n",
       " ('Port of King Abdul Aziz', 'Port of Jeddah'),\n",
       " ('Port of King Abdul Aziz', 'Port of Latakia'),\n",
       " ('Port of King Abdul Aziz', 'Port of Mersin'),\n",
       " ('Port of King Abdul Aziz', 'Port of Jebel Ali'),\n",
       " ('Port of King Abdul Aziz', 'Port of Hodeidah'),\n",
       " ('Port of Jeddah', 'Mina Salman'),\n",
       " ('Port of Jeddah', 'Larnaca Port'),\n",
       " ('Port of Jeddah', 'Port of Alexandria'),\n",
       " ('Port of Jeddah', 'Port of Bandar Abbas'),\n",
       " ('Port of Jeddah', 'Port of Umm Qasr'),\n",
       " ('Port of Jeddah', 'Port of Haifa'),\n",
       " ('Port of Jeddah', 'Port of Aqaba'),\n",
       " ('Port of Jeddah', 'Port of Shuwaikh'),\n",
       " ('Port of Jeddah', 'Port of Beirut'),\n",
       " ('Port of Jeddah', 'Port of Salalah'),\n",
       " ('Port of Jeddah', 'Port of Gaza'),\n",
       " ('Port of Jeddah', 'Port of Doha'),\n",
       " ('Port of Jeddah', 'Port of King Abdul Aziz'),\n",
       " ('Port of Jeddah', 'Port of Jeddah'),\n",
       " ('Port of Jeddah', 'Port of Latakia'),\n",
       " ('Port of Jeddah', 'Port of Mersin'),\n",
       " ('Port of Jeddah', 'Port of Jebel Ali'),\n",
       " ('Port of Jeddah', 'Port of Hodeidah'),\n",
       " ('Port of Singapore', 'Mina Salman'),\n",
       " ('Port of Singapore', 'Larnaca Port'),\n",
       " ('Port of Singapore', 'Port of Alexandria'),\n",
       " ('Port of Singapore', 'Port of Bandar Abbas'),\n",
       " ('Port of Singapore', 'Port of Umm Qasr'),\n",
       " ('Port of Singapore', 'Port of Haifa'),\n",
       " ('Port of Singapore', 'Port of Aqaba'),\n",
       " ('Port of Singapore', 'Port of Shuwaikh'),\n",
       " ('Port of Singapore', 'Port of Beirut'),\n",
       " ('Port of Singapore', 'Port of Salalah'),\n",
       " ('Port of Singapore', 'Port of Gaza'),\n",
       " ('Port of Singapore', 'Port of Doha'),\n",
       " ('Port of Singapore', 'Port of King Abdul Aziz'),\n",
       " ('Port of Singapore', 'Port of Jeddah'),\n",
       " ('Port of Singapore', 'Port of Latakia'),\n",
       " ('Port of Singapore', 'Port of Mersin'),\n",
       " ('Port of Singapore', 'Port of Jebel Ali'),\n",
       " ('Port of Singapore', 'Port of Hodeidah'),\n",
       " ('Port of Durban', 'Mina Salman'),\n",
       " ('Port of Durban', 'Larnaca Port'),\n",
       " ('Port of Durban', 'Port of Alexandria'),\n",
       " ('Port of Durban', 'Port of Bandar Abbas'),\n",
       " ('Port of Durban', 'Port of Umm Qasr'),\n",
       " ('Port of Durban', 'Port of Haifa'),\n",
       " ('Port of Durban', 'Port of Aqaba'),\n",
       " ('Port of Durban', 'Port of Shuwaikh'),\n",
       " ('Port of Durban', 'Port of Beirut'),\n",
       " ('Port of Durban', 'Port of Salalah'),\n",
       " ('Port of Durban', 'Port of Gaza'),\n",
       " ('Port of Durban', 'Port of Doha'),\n",
       " ('Port of Durban', 'Port of King Abdul Aziz'),\n",
       " ('Port of Durban', 'Port of Jeddah'),\n",
       " ('Port of Durban', 'Port of Latakia'),\n",
       " ('Port of Durban', 'Port of Mersin'),\n",
       " ('Port of Durban', 'Port of Jebel Ali'),\n",
       " ('Port of Durban', 'Port of Hodeidah'),\n",
       " ('Port of Algeciras', 'Mina Salman'),\n",
       " ('Port of Algeciras', 'Larnaca Port'),\n",
       " ('Port of Algeciras', 'Port of Alexandria'),\n",
       " ('Port of Algeciras', 'Port of Bandar Abbas'),\n",
       " ('Port of Algeciras', 'Port of Umm Qasr'),\n",
       " ('Port of Algeciras', 'Port of Haifa'),\n",
       " ('Port of Algeciras', 'Port of Aqaba'),\n",
       " ('Port of Algeciras', 'Port of Shuwaikh'),\n",
       " ('Port of Algeciras', 'Port of Beirut'),\n",
       " ('Port of Algeciras', 'Port of Salalah'),\n",
       " ('Port of Algeciras', 'Port of Gaza'),\n",
       " ('Port of Algeciras', 'Port of Doha'),\n",
       " ('Port of Algeciras', 'Port of King Abdul Aziz'),\n",
       " ('Port of Algeciras', 'Port of Jeddah'),\n",
       " ('Port of Algeciras', 'Port of Latakia'),\n",
       " ('Port of Algeciras', 'Port of Mersin'),\n",
       " ('Port of Algeciras', 'Port of Jebel Ali'),\n",
       " ('Port of Algeciras', 'Port of Hodeidah'),\n",
       " ('Port of Bangkok', 'Mina Salman'),\n",
       " ('Port of Bangkok', 'Larnaca Port'),\n",
       " ('Port of Bangkok', 'Port of Alexandria'),\n",
       " ('Port of Bangkok', 'Port of Bandar Abbas'),\n",
       " ('Port of Bangkok', 'Port of Umm Qasr'),\n",
       " ('Port of Bangkok', 'Port of Haifa'),\n",
       " ('Port of Bangkok', 'Port of Aqaba'),\n",
       " ('Port of Bangkok', 'Port of Shuwaikh'),\n",
       " ('Port of Bangkok', 'Port of Beirut'),\n",
       " ('Port of Bangkok', 'Port of Salalah'),\n",
       " ('Port of Bangkok', 'Port of Gaza'),\n",
       " ('Port of Bangkok', 'Port of Doha'),\n",
       " ('Port of Bangkok', 'Port of King Abdul Aziz'),\n",
       " ('Port of Bangkok', 'Port of Jeddah'),\n",
       " ('Port of Bangkok', 'Port of Latakia'),\n",
       " ('Port of Bangkok', 'Port of Mersin'),\n",
       " ('Port of Bangkok', 'Port of Jebel Ali'),\n",
       " ('Port of Bangkok', 'Port of Hodeidah'),\n",
       " ('Port of Jebel Ali', 'Mina Salman'),\n",
       " ('Port of Jebel Ali', 'Larnaca Port'),\n",
       " ('Port of Jebel Ali', 'Port of Alexandria'),\n",
       " ('Port of Jebel Ali', 'Port of Bandar Abbas'),\n",
       " ('Port of Jebel Ali', 'Port of Umm Qasr'),\n",
       " ('Port of Jebel Ali', 'Port of Haifa'),\n",
       " ('Port of Jebel Ali', 'Port of Aqaba'),\n",
       " ('Port of Jebel Ali', 'Port of Shuwaikh'),\n",
       " ('Port of Jebel Ali', 'Port of Beirut'),\n",
       " ('Port of Jebel Ali', 'Port of Salalah'),\n",
       " ('Port of Jebel Ali', 'Port of Gaza'),\n",
       " ('Port of Jebel Ali', 'Port of Doha'),\n",
       " ('Port of Jebel Ali', 'Port of King Abdul Aziz'),\n",
       " ('Port of Jebel Ali', 'Port of Jeddah'),\n",
       " ('Port of Jebel Ali', 'Port of Latakia'),\n",
       " ('Port of Jebel Ali', 'Port of Mersin'),\n",
       " ('Port of Jebel Ali', 'Port of Jebel Ali'),\n",
       " ('Port of Jebel Ali', 'Port of Hodeidah'),\n",
       " ('Port of Immingham', 'Mina Salman'),\n",
       " ('Port of Immingham', 'Larnaca Port'),\n",
       " ('Port of Immingham', 'Port of Alexandria'),\n",
       " ('Port of Immingham', 'Port of Bandar Abbas'),\n",
       " ('Port of Immingham', 'Port of Umm Qasr'),\n",
       " ('Port of Immingham', 'Port of Haifa'),\n",
       " ('Port of Immingham', 'Port of Aqaba'),\n",
       " ('Port of Immingham', 'Port of Shuwaikh'),\n",
       " ('Port of Immingham', 'Port of Beirut'),\n",
       " ('Port of Immingham', 'Port of Salalah'),\n",
       " ('Port of Immingham', 'Port of Gaza'),\n",
       " ('Port of Immingham', 'Port of Doha'),\n",
       " ('Port of Immingham', 'Port of King Abdul Aziz'),\n",
       " ('Port of Immingham', 'Port of Jeddah'),\n",
       " ('Port of Immingham', 'Port of Latakia'),\n",
       " ('Port of Immingham', 'Port of Mersin'),\n",
       " ('Port of Immingham', 'Port of Jebel Ali'),\n",
       " ('Port of Immingham', 'Port of Hodeidah'),\n",
       " ('Port of New York', 'Mina Salman'),\n",
       " ('Port of New York', 'Larnaca Port'),\n",
       " ('Port of New York', 'Port of Alexandria'),\n",
       " ('Port of New York', 'Port of Bandar Abbas'),\n",
       " ('Port of New York', 'Port of Umm Qasr'),\n",
       " ('Port of New York', 'Port of Haifa'),\n",
       " ('Port of New York', 'Port of Aqaba'),\n",
       " ('Port of New York', 'Port of Shuwaikh'),\n",
       " ('Port of New York', 'Port of Beirut'),\n",
       " ('Port of New York', 'Port of Salalah'),\n",
       " ('Port of New York', 'Port of Gaza'),\n",
       " ('Port of New York', 'Port of Doha'),\n",
       " ('Port of New York', 'Port of King Abdul Aziz'),\n",
       " ('Port of New York', 'Port of Jeddah'),\n",
       " ('Port of New York', 'Port of Latakia'),\n",
       " ('Port of New York', 'Port of Mersin'),\n",
       " ('Port of New York', 'Port of Jebel Ali'),\n",
       " ('Port of New York', 'Port of Hodeidah'),\n",
       " ('Port of Los Angeles', 'Mina Salman'),\n",
       " ('Port of Los Angeles', 'Larnaca Port'),\n",
       " ('Port of Los Angeles', 'Port of Alexandria'),\n",
       " ('Port of Los Angeles', 'Port of Bandar Abbas'),\n",
       " ('Port of Los Angeles', 'Port of Umm Qasr'),\n",
       " ('Port of Los Angeles', 'Port of Haifa'),\n",
       " ('Port of Los Angeles', 'Port of Aqaba'),\n",
       " ('Port of Los Angeles', 'Port of Shuwaikh'),\n",
       " ('Port of Los Angeles', 'Port of Beirut'),\n",
       " ('Port of Los Angeles', 'Port of Salalah'),\n",
       " ('Port of Los Angeles', 'Port of Gaza'),\n",
       " ('Port of Los Angeles', 'Port of Doha'),\n",
       " ('Port of Los Angeles', 'Port of King Abdul Aziz'),\n",
       " ('Port of Los Angeles', 'Port of Jeddah'),\n",
       " ('Port of Los Angeles', 'Port of Latakia'),\n",
       " ('Port of Los Angeles', 'Port of Mersin'),\n",
       " ('Port of Los Angeles', 'Port of Jebel Ali'),\n",
       " ('Port of Los Angeles', 'Port of Hodeidah'),\n",
       " ('Port of Saigon', 'Mina Salman'),\n",
       " ('Port of Saigon', 'Larnaca Port'),\n",
       " ('Port of Saigon', 'Port of Alexandria'),\n",
       " ('Port of Saigon', 'Port of Bandar Abbas'),\n",
       " ('Port of Saigon', 'Port of Umm Qasr'),\n",
       " ('Port of Saigon', 'Port of Haifa'),\n",
       " ('Port of Saigon', 'Port of Aqaba'),\n",
       " ('Port of Saigon', 'Port of Shuwaikh'),\n",
       " ('Port of Saigon', 'Port of Beirut'),\n",
       " ('Port of Saigon', 'Port of Salalah'),\n",
       " ('Port of Saigon', 'Port of Gaza'),\n",
       " ('Port of Saigon', 'Port of Doha'),\n",
       " ('Port of Saigon', 'Port of King Abdul Aziz'),\n",
       " ('Port of Saigon', 'Port of Jeddah'),\n",
       " ('Port of Saigon', 'Port of Latakia'),\n",
       " ('Port of Saigon', 'Port of Mersin'),\n",
       " ('Port of Saigon', 'Port of Jebel Ali'),\n",
       " ('Port of Saigon', 'Port of Hodeidah')]"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "routes"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Decision Variables\n",
    "X = LpVariable.dicts(\"ShipmentAmount\",(supply_points, plant_locations),0)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Port of Buenos Aires': {'Mina Salman': ShipmentAmount_Port_of_Buenos_Aires_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Buenos_Aires_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Buenos_Aires_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Hodeidah},\n",
       " 'Port of Antwerp': {'Mina Salman': ShipmentAmount_Port_of_Antwerp_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Antwerp_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Antwerp_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Antwerp_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Antwerp_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Antwerp_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Antwerp_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Antwerp_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Antwerp_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Antwerp_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Antwerp_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Antwerp_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Antwerp_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Antwerp_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Antwerp_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Antwerp_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Antwerp_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Antwerp_Port_of_Hodeidah},\n",
       " 'Port of Santos': {'Mina Salman': ShipmentAmount_Port_of_Santos_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Santos_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Santos_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Santos_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Santos_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Santos_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Santos_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Santos_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Santos_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Santos_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Santos_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Santos_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Santos_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Santos_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Santos_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Santos_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Santos_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Santos_Port_of_Hodeidah},\n",
       " 'Port of Montreal': {'Mina Salman': ShipmentAmount_Port_of_Montreal_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Montreal_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Montreal_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Montreal_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Montreal_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Montreal_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Montreal_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Montreal_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Montreal_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Montreal_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Montreal_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Montreal_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Montreal_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Montreal_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Montreal_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Montreal_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Montreal_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Montreal_Port_of_Hodeidah},\n",
       " 'Port of Vancouver': {'Mina Salman': ShipmentAmount_Port_of_Vancouver_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Vancouver_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Vancouver_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Vancouver_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Vancouver_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Vancouver_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Vancouver_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Vancouver_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Vancouver_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Vancouver_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Vancouver_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Vancouver_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Vancouver_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Vancouver_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Vancouver_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Vancouver_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Vancouver_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Vancouver_Port_of_Hodeidah},\n",
       " 'Port of Shanghai': {'Mina Salman': ShipmentAmount_Port_of_Shanghai_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Shanghai_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Shanghai_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Shanghai_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Shanghai_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Shanghai_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Shanghai_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Shanghai_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Shanghai_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Shanghai_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Shanghai_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Shanghai_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Shanghai_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Shanghai_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Shanghai_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Shanghai_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Shanghai_Port_of_Hodeidah},\n",
       " 'Buenaventura': {'Mina Salman': ShipmentAmount_Buenaventura_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Buenaventura_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Buenaventura_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Buenaventura_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Buenaventura_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Buenaventura_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Buenaventura_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Buenaventura_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Buenaventura_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Buenaventura_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Buenaventura_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Buenaventura_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Buenaventura_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Buenaventura_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Buenaventura_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Buenaventura_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Buenaventura_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Buenaventura_Port_of_Hodeidah},\n",
       " 'Port of Alexandria': {'Mina Salman': ShipmentAmount_Port_of_Alexandria_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Alexandria_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Alexandria_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Alexandria_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Alexandria_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Alexandria_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Alexandria_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Alexandria_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Alexandria_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Alexandria_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Alexandria_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Alexandria_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Alexandria_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Alexandria_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Alexandria_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Alexandria_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Alexandria_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Alexandria_Port_of_Hodeidah},\n",
       " 'Port of Marseille': {'Mina Salman': ShipmentAmount_Port_of_Marseille_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Marseille_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Marseille_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Marseille_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Marseille_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Marseille_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Marseille_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Marseille_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Marseille_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Marseille_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Marseille_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Marseille_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Marseille_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Marseille_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Marseille_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Marseille_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Marseille_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Marseille_Port_of_Hodeidah},\n",
       " 'Port of Hamburg_Germany': {'Mina Salman': ShipmentAmount_Port_of_Hamburg_Germany_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Hamburg_Germany_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Hodeidah},\n",
       " 'Port of Jawaharlal Nehru': {'Mina Salman': ShipmentAmount_Port_of_Jawaharlal_Nehru_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Jawaharlal_Nehru_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Hodeidah},\n",
       " 'Port of Gioia Tauro': {'Mina Salman': ShipmentAmount_Port_of_Gioia_Tauro_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Gioia_Tauro_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Hodeidah},\n",
       " 'Port of Nagoya': {'Mina Salman': ShipmentAmount_Port_of_Nagoya_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Nagoya_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Nagoya_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Nagoya_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Nagoya_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Nagoya_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Nagoya_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Nagoya_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Nagoya_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Nagoya_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Nagoya_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Nagoya_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Nagoya_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Nagoya_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Nagoya_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Nagoya_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Nagoya_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Nagoya_Port_of_Hodeidah},\n",
       " 'Port of Busan': {'Mina Salman': ShipmentAmount_Port_of_Busan_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Busan_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Busan_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Busan_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Busan_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Busan_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Busan_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Busan_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Busan_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Busan_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Busan_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Busan_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Busan_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Busan_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Busan_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Busan_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Busan_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Busan_Port_of_Hodeidah},\n",
       " 'Port of Shuwaikh': {'Mina Salman': ShipmentAmount_Port_of_Shuwaikh_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Shuwaikh_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Shuwaikh_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Shuwaikh_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Shuwaikh_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Shuwaikh_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Shuwaikh_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Shuwaikh_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Shuwaikh_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Shuwaikh_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Shuwaikh_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Shuwaikh_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Shuwaikh_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Shuwaikh_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Shuwaikh_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Shuwaikh_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Shuwaikh_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Shuwaikh_Port_of_Hodeidah},\n",
       " 'Penang Port': {'Mina Salman': ShipmentAmount_Penang_Port_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Penang_Port_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Penang_Port_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Penang_Port_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Penang_Port_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Penang_Port_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Penang_Port_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Penang_Port_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Penang_Port_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Penang_Port_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Penang_Port_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Penang_Port_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Penang_Port_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Penang_Port_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Penang_Port_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Penang_Port_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Penang_Port_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Penang_Port_Port_of_Hodeidah},\n",
       " 'Port of Manzanillo': {'Mina Salman': ShipmentAmount_Port_of_Manzanillo_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Manzanillo_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Manzanillo_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Manzanillo_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Manzanillo_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Manzanillo_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Manzanillo_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Manzanillo_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Manzanillo_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Manzanillo_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Manzanillo_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Manzanillo_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Manzanillo_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Manzanillo_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Manzanillo_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Manzanillo_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Manzanillo_Port_of_Hodeidah},\n",
       " 'Port of Rotterdam': {'Mina Salman': ShipmentAmount_Port_of_Rotterdam_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Rotterdam_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Rotterdam_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Rotterdam_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Rotterdam_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Rotterdam_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Rotterdam_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Rotterdam_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Rotterdam_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Rotterdam_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Rotterdam_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Rotterdam_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Rotterdam_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Rotterdam_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Rotterdam_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Rotterdam_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Rotterdam_Port_of_Hodeidah},\n",
       " 'Port of Lagos': {'Mina Salman': ShipmentAmount_Port_of_Lagos_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Lagos_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Lagos_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Lagos_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Lagos_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Lagos_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Lagos_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Lagos_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Lagos_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Lagos_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Lagos_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Lagos_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Lagos_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Lagos_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Lagos_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Lagos_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Lagos_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Lagos_Port_of_Hodeidah},\n",
       " 'Port of Salalah': {'Mina Salman': ShipmentAmount_Port_of_Salalah_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Salalah_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Salalah_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Salalah_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Salalah_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Salalah_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Salalah_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Salalah_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Salalah_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Salalah_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Salalah_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Salalah_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Salalah_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Salalah_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Salalah_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Salalah_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Salalah_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Salalah_Port_of_Hodeidah},\n",
       " 'Port of Gdansk': {'Mina Salman': ShipmentAmount_Port_of_Gdansk_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Gdansk_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Gdansk_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Gdansk_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Gdansk_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Gdansk_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Gdansk_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Gdansk_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Gdansk_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Gdansk_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Gdansk_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Gdansk_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Gdansk_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Gdansk_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Gdansk_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Gdansk_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Gdansk_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Gdansk_Port_of_Hodeidah},\n",
       " 'Port of Doha': {'Mina Salman': ShipmentAmount_Port_of_Doha_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Doha_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Doha_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Doha_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Doha_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Doha_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Doha_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Doha_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Doha_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Doha_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Doha_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Doha_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Doha_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Doha_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Doha_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Doha_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Doha_Port_of_Hodeidah},\n",
       " 'Port of King Abdul Aziz': {'Mina Salman': ShipmentAmount_Port_of_King_Abdul_Aziz_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_King_Abdul_Aziz_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Hodeidah},\n",
       " 'Port of Jeddah': {'Mina Salman': ShipmentAmount_Port_of_Jeddah_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Jeddah_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Jeddah_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Jeddah_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Jeddah_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Jeddah_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Jeddah_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Jeddah_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Jeddah_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Jeddah_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Jeddah_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Jeddah_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Jeddah_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Jeddah_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Jeddah_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Jeddah_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Jeddah_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Jeddah_Port_of_Hodeidah},\n",
       " 'Port of Singapore': {'Mina Salman': ShipmentAmount_Port_of_Singapore_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Singapore_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Singapore_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Singapore_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Singapore_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Singapore_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Singapore_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Singapore_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Singapore_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Singapore_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Singapore_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Singapore_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Singapore_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Singapore_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Singapore_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Singapore_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Singapore_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Singapore_Port_of_Hodeidah},\n",
       " 'Port of Durban': {'Mina Salman': ShipmentAmount_Port_of_Durban_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Durban_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Durban_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Durban_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Durban_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Durban_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Durban_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Durban_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Durban_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Durban_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Durban_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Durban_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Durban_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Durban_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Durban_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Durban_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Durban_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Durban_Port_of_Hodeidah},\n",
       " 'Port of Algeciras': {'Mina Salman': ShipmentAmount_Port_of_Algeciras_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Algeciras_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Algeciras_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Algeciras_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Algeciras_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Algeciras_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Algeciras_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Algeciras_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Algeciras_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Algeciras_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Algeciras_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Algeciras_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Algeciras_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Algeciras_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Algeciras_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Algeciras_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Algeciras_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Algeciras_Port_of_Hodeidah},\n",
       " 'Port of Bangkok': {'Mina Salman': ShipmentAmount_Port_of_Bangkok_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Bangkok_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Bangkok_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Bangkok_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Bangkok_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Bangkok_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Bangkok_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Bangkok_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Bangkok_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Bangkok_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Bangkok_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Bangkok_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Bangkok_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Bangkok_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Bangkok_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Bangkok_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Bangkok_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Bangkok_Port_of_Hodeidah},\n",
       " 'Port of Jebel Ali': {'Mina Salman': ShipmentAmount_Port_of_Jebel_Ali_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Jebel_Ali_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Jebel_Ali_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Hodeidah},\n",
       " 'Port of Immingham': {'Mina Salman': ShipmentAmount_Port_of_Immingham_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Immingham_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Immingham_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Immingham_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Immingham_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Immingham_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Immingham_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Immingham_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Immingham_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Immingham_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Immingham_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Immingham_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Immingham_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Immingham_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Immingham_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Immingham_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Immingham_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Immingham_Port_of_Hodeidah},\n",
       " 'Port of New York': {'Mina Salman': ShipmentAmount_Port_of_New_York_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_New_York_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_New_York_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_New_York_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_New_York_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_New_York_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_New_York_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_New_York_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_New_York_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_New_York_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_New_York_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_New_York_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_New_York_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_New_York_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_New_York_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_New_York_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_New_York_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_New_York_Port_of_Hodeidah},\n",
       " 'Port of Los Angeles': {'Mina Salman': ShipmentAmount_Port_of_Los_Angeles_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Los_Angeles_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Los_Angeles_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Los_Angeles_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Los_Angeles_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Los_Angeles_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Los_Angeles_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Los_Angeles_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Los_Angeles_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Los_Angeles_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Los_Angeles_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Los_Angeles_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Los_Angeles_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Los_Angeles_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Los_Angeles_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Los_Angeles_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Los_Angeles_Port_of_Hodeidah},\n",
       " 'Port of Saigon': {'Mina Salman': ShipmentAmount_Port_of_Saigon_Mina_Salman,\n",
       "  'Larnaca Port': ShipmentAmount_Port_of_Saigon_Larnaca_Port,\n",
       "  'Port of Alexandria': ShipmentAmount_Port_of_Saigon_Port_of_Alexandria,\n",
       "  'Port of Bandar Abbas': ShipmentAmount_Port_of_Saigon_Port_of_Bandar_Abbas,\n",
       "  'Port of Umm Qasr': ShipmentAmount_Port_of_Saigon_Port_of_Umm_Qasr,\n",
       "  'Port of Haifa': ShipmentAmount_Port_of_Saigon_Port_of_Haifa,\n",
       "  'Port of Aqaba': ShipmentAmount_Port_of_Saigon_Port_of_Aqaba,\n",
       "  'Port of Shuwaikh': ShipmentAmount_Port_of_Saigon_Port_of_Shuwaikh,\n",
       "  'Port of Beirut': ShipmentAmount_Port_of_Saigon_Port_of_Beirut,\n",
       "  'Port of Salalah': ShipmentAmount_Port_of_Saigon_Port_of_Salalah,\n",
       "  'Port of Gaza': ShipmentAmount_Port_of_Saigon_Port_of_Gaza,\n",
       "  'Port of Doha': ShipmentAmount_Port_of_Saigon_Port_of_Doha,\n",
       "  'Port of King Abdul Aziz': ShipmentAmount_Port_of_Saigon_Port_of_King_Abdul_Aziz,\n",
       "  'Port of Jeddah': ShipmentAmount_Port_of_Saigon_Port_of_Jeddah,\n",
       "  'Port of Latakia': ShipmentAmount_Port_of_Saigon_Port_of_Latakia,\n",
       "  'Port of Mersin': ShipmentAmount_Port_of_Saigon_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Saigon_Port_of_Jebel_Ali,\n",
       "  'Port of Hodeidah': ShipmentAmount_Port_of_Saigon_Port_of_Hodeidah}}"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "X"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "ename": "KeyError",
     "evalue": "'Port of Saigon'",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mKeyError\u001b[0m                                  Traceback (most recent call last)",
      "\u001b[1;32m<ipython-input-17-ee08da328365>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[0;32m      1\u001b[0m \u001b[1;31m# Objective Function\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 2\u001b[1;33m \u001b[0mprob\u001b[0m \u001b[1;33m+=\u001b[0m \u001b[0msum\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mX\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mi\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mj\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m*\u001b[0m\u001b[0mdistance\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mi\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mj\u001b[0m\u001b[1;33m]\u001b[0m \u001b[1;32mfor\u001b[0m \u001b[1;33m(\u001b[0m\u001b[0mi\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mj\u001b[0m\u001b[1;33m)\u001b[0m \u001b[1;32min\u001b[0m \u001b[0mroutes\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
      "\u001b[1;32m<ipython-input-17-ee08da328365>\u001b[0m in \u001b[0;36m<genexpr>\u001b[1;34m(.0)\u001b[0m\n\u001b[0;32m      1\u001b[0m \u001b[1;31m# Objective Function\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 2\u001b[1;33m \u001b[0mprob\u001b[0m \u001b[1;33m+=\u001b[0m \u001b[0msum\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mX\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mi\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mj\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m*\u001b[0m\u001b[0mdistance\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mi\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mj\u001b[0m\u001b[1;33m]\u001b[0m \u001b[1;32mfor\u001b[0m \u001b[1;33m(\u001b[0m\u001b[0mi\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mj\u001b[0m\u001b[1;33m)\u001b[0m \u001b[1;32min\u001b[0m \u001b[0mroutes\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
      "\u001b[1;31mKeyError\u001b[0m: 'Port of Saigon'"
     ]
    }
   ],
   "source": [
    "# Objective Function\n",
    "prob += sum(X[i][j]*distance[i][j] for (i,j) in routes)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "prob"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Constraints\n",
    "for j in plant_locations:\n",
    "    prob += sum(X[i][j] for i in supply_points) >= plastic_demand[j]\n",
    "    \n",
    "prob"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Constraints\n",
    "for i in supply_points:\n",
    "    prob += sum(X[i][j] for j in plant_locations) == plastic_supply[i]\n",
    "prob"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "prob.solve()\n",
    "\n",
    "print(\"Status:\", LpStatus[prob.status])\n",
    "\n",
    "for v in prob.variables():\n",
    "    if v.varValue > 0:\n",
    "        print(v.name, \"=\", v.varValue)\n",
    "\n",
    "print(\"Total kilogram_miles =\", value(prob.objective))\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
